eolymp
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