Try our new interface for solving problems

Street numbers

Street numbers

Time limit 1 second
Memory limit 128 MiB

As you may be aware, houses with even street numbers are typically situated on one side of the street, while those with odd numbers are positioned on the opposite side. Determine whether the houses numbered n and m are situated on the same side of the street.

Input data

Two integers n and m~(1 \le n, m \le 100).

Output data

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


Input example #1
1 2
Output example #1