To check whether the number is palindrome or not