Problems
Maximum digit in a number
Maximum digit in a number
Find the maximum digit in a positive integer n.
Input
One positive integer n (n < 1018
).
Output
Print the maximum digit in a positive integer n.
Input example #1
2354
Output example #1
5
Input example #2
609432232423423
Output example #2
9