FarEye interview question

Write a program to find palindrome number