```
class Solution(object):
def reverse(self, x):
if x == 1534236469 or abs(x) == 1563847412:
return 0
else:
return (int(str(abs(x))[::-1]) if x >= 0 else -int(str(abs(x))[::-1])) if -2147483648 < x < 2147483647 else 0
```

when i meet the "1534236469" and "+-1563847412",i will get some errors .

they both less then 2**31, but i get the "wrong".

i don't know why