Task
           Time limit: 
1000 ms,
           
Memory limit: 
256 Mb
           A three-digit number is given. Determine which of its digit is greater: second or last. Display the larger of these two digits.
Input: one number is input (100 <= n <= 999)
Output: output the answer to the task
 
Example