G. 【入门】一个六位数

    Type: Default 1000ms 16MiB

【入门】一个六位数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

有一个六位数,现将这个数的个位数字和首位(十万位)交换位置,而其余各位数字顺序不变,得到了一个新的六位数,求原来的六位数。

输入格式

输入一个新六位数

输出格式

原来的六位数

样例

623451
123456