B. [语言过关]位数互换

    Type: Default 1000ms 128MiB

[语言过关]位数互换

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.

说明

change.pas/c/cpp

输入一个4位数,要求把这个数倒着输出。

输入格式

只有一行,为一个4位的正整数(保证各位不是零)

输出

只有一行

样例输入

1234

样例输出

4321

样例

测试赛

Not Attended
Status
Done
Rule
IOI
Problem
4
Start at
2023-12-6 18:00
End at
2023-12-6 19:12
Duration
1.2 hour(s)
Host
Partic.
3