Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/ikki-xonalimi

Is it two-digit?

Easy 1000 ms 64 MB 14%
Share

An integer $n$ is given. Check whether the statement is true: “$n$ is a positive two-digit number”, that is, $10 \le n \le 99$.

The range of two-digit numbers on the number line

Input

One integer $n$.

Output

One integer: $1$ if the statement is true, otherwise $0$.

Note

$-10^{9} \le n \le 10^{9}$

Examples

Input #1
42
Output #1
1
Input #2
9
Output #2
0

Sign in to submit a solution

Signing up is free and takes a minute.