LearnPy Hub
← Operators problems
Medium

Reverse Two Digits

Read a two-digit number and print it with the digits reversed, as a number. 47 becomes 74, and 30 becomes 3.

Input

One integer 10–99.

Output

The reversed number.

Sample 1

Input
47
Output
74

Sample 2

Input
30
Output
3
solution.py
Output appears here
Reverse Two Digits · Python practice problem · LearnPy Hub