eolymp
bolt
Try our new interface for solving problems
Problems

Street numbers

Street numbers

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. \InputFile Two integers $n$ and $m~(1 \le n, m \le 100)$. \OutputFile Print $1$ if the houses with numbers $n$ and $m$ are located on the same side of the street, and $0$ otherwise.
Time limit 1 second
Memory limit 128 MiB
Input example #1
1 2
Output example #1
0