r=reverse.show l x=if show x==r x then(r x)else l(x+(read$r x)) main=mapM putStrLn[l n|n<-[1..195]]