Problem1546--数字分离---找最大数字

1546: 数字分离---找最大数字

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 284  Solved: 222
[Status] [Submit] [Creator:]

Description

输入一个正整数n,找到n中每一位上的最大的数字并输出。(n在int范围内)

Input

一个正整数n

Output

n中每一位上的最大的数字

Sample Input Copy

87905

Sample Output Copy

9

Source/Category