PAT 1136. A Delayed Palindrome (20)
Consider a positive integer N written in standard notation with k+1 digits ai as ak…a1a0 with 0 <= ai < 10 for all i and ak > 0. Then N ispalindromicif and only if ai = ak-i for all i. Zero is written 0 and is also palindromic by definition. Non-palindromic numbers can be paired with palindromic one