e-olymp
Competitions

Programming Principles 1. Week 2. September 9 - 15. PART 2

Delete one digit

Three-digit number is given. Delete in it one digit to get the maximum possible number. The order of the digits should not be changed.

Input

One three-digit number.

Output

Print the maximum possible number after deleting one digit.

Time limit 1 second
Memory limit 128 MiB
Input example #1
432
Output example #1
43
Input example #2
659
Output example #2
69