Parity of the number
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Check the given integer n for parity.
Input data
One integer n.
Output
Print 1 if the number n is even and 0 otherwise.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 18K
Acceptance rate 48%