Problem J: 去除末尾的0

Problem J: 去除末尾的0

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 7  Solved: 5
[Status] [Submit] [Creator:]

Description

输入一个整数n,如果n等于0,则原样输出,否则去除其末尾的0后输出

Input

一行:一个整数n (0≤n≤10^9)

Output

一行:一个整数,将n去除末尾的0后的数。

Sample Input Copy

123000

Sample Output Copy

123