The input for the program consists of two integers, n and m, provided on a single line and separated by a space. The program should output 1 if both integers have the same parity (meaning both are either even or odd), and 0 if they do not.
A single line containing two integers.
The result of the problem.
Example 1
Example 2