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

Задача 21763. Maximum digit in octal ss


Given a natural number N . It is necessary to find the maximum digit of the given number when it is written in the octal number system.

Input
The input is a natural number N (\(N<=255\)).

Imprint
Display the answer to the problem.
 

 

Examples
# Input Output
1 255 7