for n=1,195 do m=0 repeat n=n+m m=0+('').reverse(n)until n==m print(n)end