eolymp
Competitions

Week 2 Conditionals Part 1

City numbers

Time limit 1 second
Memory limit 128 MiB

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

Input data

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

Output data

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

Examples

Input example #1
1 2
Output example #1
0