1734: 【CSP循环】“倒”数▅

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:8 Solved:7

Description

输入一个正整数 lns="http://www.w3.org/1998/Math/MathML">N0<N<2147483647),将这个数倒着合成一个新数后输出。

比如: lns="http://www.w3.org/1998/Math/MathML">543 ,倒过来是 lns="http://www.w3.org/1998/Math/MathML">345 (请注意: lns="http://www.w3.org/1998/Math/MathML">34500 ,倒过来是 lns="http://www.w3.org/1998/Math/MathML">543 ,不是 lns="http://www.w3.org/1998/Math/MathML">00543 )!

Input

一行,一个正整数 lns="http://www.w3.org/1998/Math/MathML">N 

Output

一行,一个正整数。

Sample Input Copy

345

Sample Output Copy

543