Given a non-negative integer num, check whether the given number is palindrome or not.
What is a palindrome?
A palindrome is a word, phrase, number, or any other sequence of characters that reads the same forward and backward.
Examples
Input: 121
Output: true
Explanation: The number 121 reads the same