Problem1315--五位数反转

1315: 五位数反转

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 23  Solved: 20
[Submit] [Status] [Web Board] [Creator:]

Description

输入一个五位数,分离出它的万位、千位、百位、十位和个位,反转后输出,也就是依次输出个位、十位、百位、千位和万位。

Sample Input

12345

Sample Output

54321

Source/Category