Same parity
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
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.
Input
A single line containing two integers.
Output
The result of the problem.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 20K
Acceptance rate 35%