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

The highest digits

The highest digits

Find the highest digits of a four-digits numbers.

Input

One whole four-digits number.

Output

Sought the greatest number.

Time limit 1 second
Memory limit 128 MiB
Input example #1
2134
Output example #1
4