import List main=mapM print[i|i<-[9..10^4],(length.nub.show)i==2]