5587: 教师培训C++第十八题 数字反转 LG

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

Description

输入一个不小于 100100 且小于 10001000,同时包括小数点后一位的一个浮点数,例如 123.4123.4 ,要求把这个数字翻转过来,变成 4.3214.321 并输出。

Input

一行一个浮点数

Output

一行一个浮点数

Sample Input Copy

123.4

Sample Output Copy

4.321