class Solution:
    def isPalindrome(self, x: int) -> bool:
        s = str(x)
        rs = "".join(list(reversed(s)))
        if rs != s:
            return False
        return True

cfdabc0278a7d143ffd7b8ad07148aa739efc638
<mask token>

class Solution:
    <mask token>

class Solution:

    def isPalindrome(self, x: int) ->bool:
        s = str(x)
        rs = ''.join(list(reversed(s)))
        if rs != s:
            return False
        return True

class Solution:
    def isPalindrome(self, x: int) -> bool:
        s = str(x)
        rs = "".join(list(reversed(s)))
        if rs != s:
            return False
        return True
