f91#1206

f91

1 second
64 megabytes
Very easy

McCarthy is a well-known computer science theorist. In one of his works, he defined a recursive function called f91, which is defined for any positive integer as follows:

If n \leq 100, then \textbf{f91}(n) = \textbf{f91}(\textbf{f91}(n + 11));

If n \geq 101, then \textbf{f91}(n) = n - 10.

Input

A positive integer not greater than .

Output

The value of .

Examples

Example 1

Loading
Loading