Problem G

Statement
Copy Copied
Given an integer x, output the integer obtained by reversing its decimal digits.
Input: x
Output: reversed x