eolymp
Problems

City numbers

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