class Solution:
def isPalindrome(self, x):
if str(x).startswith('-'):
return False
else:
a = str(x)
b = a[::-1]
if a == b:
return True
else:
return False