Worked with palindromic numbers