The Little Elephant has an integer ( a ) represented in binary notation. He wants to write this number on a piece of paper, but he needs to ensure it fits. To do this, he must delete exactly one binary digit from the representation of the number. This deletion results in a new number formed by the remaining binary digits in the same order, which may include leading zeroes.
The Little Elephant aims to make the resulting binary number as large as possible. Your task is to help him find this maximum number after deleting exactly one binary digit and print it in binary notation.
Input Format
A single line containing an integer ( a ) represented in binary notation without leading zeroes. The number will have more than 1 and at most ( 10^5 ) digits.
Output Format
A single line containing the resulting binary number after deleting one digit, printed without leading zeroes.
Example
Input
text
101
Output
text
11
Input
text
110010
Output
text
11010
Note
In the first example, the optimal strategy is to delete the second digit, yielding ( 11_2 ) (which equals ( 3_{10} )).
In the second example, the best strategy is to delete either the third or fourth digit, resulting in ( 11010_2 ) (which equals ( 26_{10} )).
Solution
The solution should be implemented in the /app/ directory.
Important: place your implementation at /app/solution.py so the verifier can run it.