e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

City numbers

City numbers

Determine if the houses with numbers n and m are located on one side of the street.

Input

Two numbers n and m (1n, m100).

Output

Print 1 if the houses with numbers n and m are located on one side of the street and 0 otherwise.

Time limit 1 second
Memory limit 128 MiB
Input example #1
1 2
Output example #1
0