Reverse a Number
Reverse the digits of . Leading zeros of the result are dropped, and the sign stays in front (so -120 becomes -21).
Input
A single integer .
Output
The reversed number.
Constraints
Sample 1
Input
1234
Output
4321
Sample 2
Input
-120
Output
-21