Total Palindromic Numbers

CodeChef - AOPN