To check whether the given number is palindrome or not