A. 练8.1 尼克与强盗

    Type: Default 1000ms 64MiB

练8.1 尼克与强盗

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

One day, a robber came to Nick's house and noted his house number—6262, planning to return later that night. Nick saw this and swapped the tens and units digits of the house number, changing it to 2626, 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

67
76

20251025A班作业(4)

Not Claimed
Status
Done
Problem
8
Open Since
2025-10-25 0:00
Deadline
2025-11-2 23:59
Extension
24 hour(s)