#MAXXOR. Find the max XOR value

Find the max XOR value

You have two integers L and R, and you are required to find the maximum xor value of a and b where L ≤ a ≤ R and L ≤ b ≤ R.

Input

Two integers in a line. L, R ≤ 109.

Output

One integer, the answer.

Example

Input:
1 10

Output: 15

</p>