Problem Description

Given L and R, print XOR of all integers in [L,R].

Input Format

One line: L R.

Output Format

One integer.

Sample Test Case

Input:
3 6
Output:
4

Constraints

0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next