The Largest Digit#257

The Largest Digit

1 second
128 megabytes
Very easy (≈850)

Find the largest digit of a four-digit integer.

Input

The input contains a four-digit integer (the number can also be negative).

Output

Output the largest digit of the number.

Examples

Example 1

Loading
Loading

Example 8

Loading
Loading