Problem3398--【Div1】abc400E- Ringo's Favorite Numbers 3

3398: 【Div1】abc400E- Ringo's Favorite Numbers 3

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description





Sample Input Copy

5
404
36
60
1000000000000
123456789

Sample Output Copy

400
36
36
1000000000000
123454321

Source/Category