a=0 exec"_=a=-~a;b=0\nwhile _-b:_+=b;b=int(str(_)[::-1])\nprint _;"*195