#P36. 练8.1 尼克与强盗
练8.1 尼克与强盗
Description
One day, a robber came to Nick's house and noted his house number—, planning to return later that night. Nick saw this and swapped the tens and units digits of the house number, changing it to , thus avoiding trouble. Write a program to input a two-digit number, swap the tens and units digits, and output the result.
Input Format
A two-digit house number.
Output Format
The transformed house number.
Sample
6776
Related
In following homework: