1.upto(195){|i|i+=W until i==W=i.to_s.reverse.to_i;p i}