1.upto(?Ã){|i|i+=$t while i!=$t=i.to_s.reverse.to_i;p i}