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

~/algor $ cat problems/kichigining-raqami

Index of the smaller

Easy 1000 ms 64 MB 16%
Share

Two different integers $A$ and $B$ are given. Determine the position of the smaller one: $1$ if $A$ is smaller, $2$ if $B$ is smaller.

Of two numbers, the position of the smaller one is shown

Input

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

Output

One integer: $1$ or $2$.

Note

$-10^{9} \le A, B \le 10^{9}$
$A \ne B$

Examples

Input #1
3 7
Output #1
1
Input #2
7 3
Output #2
2

Sign in to submit a solution

Signing up is free and takes a minute.