class Solution:
    def reverse(self, x: int) -> int:
        return (str(abs(x))[::-1])


def main():
    example = Solution()
    num = -123
    print(example.reverse(num))


if __name__ == "__main__":
    main()

e65fc5217f5bb0c54e704acfe6a80fa01809b978
class Solution:
    <mask token>


<mask token>

class Solution:

    def reverse(self, x: int) ->int:
        return str(abs(x))[::-1]


<mask token>

class Solution:

    def reverse(self, x: int) ->int:
        return str(abs(x))[::-1]


def main():
    example = Solution()
    num = -123
    print(example.reverse(num))


<mask token>

class Solution:

    def reverse(self, x: int) ->int:
        return str(abs(x))[::-1]


def main():
    example = Solution()
    num = -123
    print(example.reverse(num))


if __name__ == '__main__':
    main()

class Solution:
    def reverse(self, x: int) -> int:
        return (str(abs(x))[::-1])


def main():
    example = Solution()
    num = -123
    print(example.reverse(num))


if __name__ == "__main__":
    main()
