The highest digit#1351

The highest digit

1 second
128 megabytes
Very easy

Find the largest digit in a four-digit integer.

Input

A single four-digit integer .

Output

Output the largest digit of .

Examples

Example 1

Loading
Loading

Example 8

Loading
Loading