Write a function to find the smallest prime factor of a number?
Login to Submit
input:1 output:null input: 2 output:2 input: 10 output:2