数字换位

输入一个3位数,更换其各个位与百位的数字输出。

Input

键盘输入一个3位数x。  (100<=x<=999)

Output

输入换好位后的数字

Examples

Input

963

Output

369

来源

编程基础题-语言基础题
Time limit 1 second
Memory limit 128 MB
讨论 统计