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