Maximum digit#638

Maximum digit

0.1 seconds
16 megabytes
Very easy (≈850)

You are given a four-digit number. Find its largest digit. For example, the largest digit of 7184 is 8.

Input

The input contains a single four-digit number (it can be positive or negative).

Output

Output the largest digit of the number.

Examples

Example 1

Loading
Loading

Scoring

Each correct test case will earn points. The total score is 100.