#0003B4

Little Sergey

Little Sergey has bought a little nuclear reactor. He decided to set up a password for it. But he has forgotten the password. Little Sergey remembers that the password was equal to xor (exclusive or) of all numbers from interval [ L; R ] inclusive. Help him to remind password.


Input The first line of input contains two integers L and R (1<=L<=R<=10000000000000066).

OutputOutput one integer - the answer to the problem.

Input:
2 8
Output:
9

Submit solution

Coming later

The grading service will be connected in a later migration step. You can inspect the task and your previous results now.