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

~/algor $ cat problems/ikki-shart

Two conditions

Easy 1000 ms 64 MB 12%
Share

Two integers $A$ and $B$ are given. Check whether the statement is true: “$A \gt 2$ and $B \le 3$”.

Both conditions holding at once on the number line

Input

One line with two integers: $A$ and $B$.

Output

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

Note

$-100 \le A, B \le 100$

Examples

Input #1
3 3
Output #1
1
Input #2
2 3
Output #2
0

Sign in to submit a solution

Signing up is free and takes a minute.