eolymp
bolt
Try our new interface for solving problems
Problems

The highest digits

The highest digits

Time limit 1 second
Memory limit 128 MiB

Find the highest digits of a four-digits numbers.

Input data

One whole four-digits number.

Output data

Sought the greatest number.

Examples

Input example #1
2134
Output example #1
4
Input example #8
2662
Output example #8
6