1.upto(195){|i|i+=$n while i!=$n=i.to_s.reverse.to_i;p i}