e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

The extra digit

The extra digit

What is the maximumnumbercan be obtainedby removingone of thedigits ofa given natural numberN?

Input

Natural numberN(10 N1032).

Output

The answerto the problem.

Time limit 1 second
Memory limit 64 MiB
Input example #1
527
Output example #1
57
Source Stage III All-Ukrainian School Olympiad 2011-2012, Round 2, Zhytomyr