Competitions

# Week 2: November 16 – 22. Conditional statement. 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.

Input example #1

432

Output example #1

43

Input example #2

659

Output example #2

69