Module: Number systems


Problem

2 /9


Maximum digit in octal ss

Problem

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