eolymp
bolt
Try our new interface for solving problems
Problems

The highest digits

The highest digits

Find the highest digits of a four-digits numbers. \InputFile One whole four-digits number. \OutputFile Sought the greatest number.
Time limit 1 second
Memory limit 128 MiB
Input example #1
2134
Output example #1
4
Input example #8
2662
Output example #8
6