Олимпиадный тренинг

Задача 2954. Analysis of the digits of the number - 13


Задача

Темы: Цикл while
The first line contains the natural number n 
Display the maximum digit of n

Sample input and output
test number Input Output
1 102983 9