Problem2127--Invert the number

2127: Invert the number

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

Description

Given a positive integer, output in reverse order.Note: the first digit is zero, do not print

Input

Given a positive integer

Output

Inverted positive integer

Sample Input Copy

123

Sample Output Copy

321

Source/Category

171