Boolean
Boolean-07
Boolean-08
Boolean-09
~/algor $ cat problems/boolean-faqat-bittasi-toq
Exactly one is odd
Easy
1000 ms
64 MB
13%
Two integers $A$ and $B$ are given. Check whether the statement is true: “exactly one of the numbers $A$ and $B$ is odd”. Negative numbers are odd or even too: for example, $-3$ is odd, $-4$ is even, and $0$ is even.
Input
One line with two integers: $A$ and $B$.
Output
One integer: $1$ if the statement is true, otherwise $0$.
Note
$-10^{9} \le A, B \le 10^{9}$
Examples
Input #1
3 4
Output #1
1
Input #2
5 7
Output #2
0