Let
\(F(A, B) = A \oplus (A+1) \oplus (A+2) \oplus ... \oplus B\) , where
\(\oplus\) is the exclusive OR operation (
XOR).
Given the known numbers
A and
B calculate
F(A, B).
Input
The input is a string containing 2 numbers:
A and
B (0 <=
A, B <= 10
12).
Imprint
Output
F(A, B).
Examples
| # |
Input |
Output |
| 1 |
2 4 |
5 |
| 2 |
123 456 |
435 |
| 3 |
123456789012 123456789012 |
123456789012 |