Find the largest digit in a four-digit integer.
A single four-digit integer n.
Output the largest digit of n.
Example 1
Example 8