#abc213a. [abc213_a]Bitwise Exclusive Or

[abc213_a]Bitwise Exclusive Or

Problem Statement

You are given integers AA and BB between 00 and 255255 (inclusive). Find a non-negative integer CC such that AtextxorC=BA \\text{ xor }C=B.

It can be proved that there uniquely exists such CC, and it will be between 00 and 255255 (inclusive).

What is bitwise mathrmXOR\\mathrm{XOR}?

The bitwise mathrmXOR\\mathrm{XOR} of integers AA and BB, AmathrmXORBA\\ \\mathrm{XOR}\\ B, is defined as follows:

  • When AmathrmXORBA\\ \\mathrm{XOR}\\ B is written in base two, the digit in the 2k2^k's place (kgeq0k \\geq 0) is 11 if exactly one of AA and BB is 11, and 00 otherwise.

For example, we have 3mathrmXOR5=63\\ \\mathrm{XOR}\\ 5 = 6 (in base two: 011mathrmXOR101=110011\\ \\mathrm{XOR}\\ 101 = 110).

Constraints

  • 0leqA,Bleq2550\\leq A,B \\leq 255
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

AA BB

Output

Print the answer.


Sample Input 1

3 6

Sample Output 1

5

When written in binary, 33 will be 1111, and 55 will be 101101. Thus, their textxor\\text{xor} will be 110110 in binary, or 66 in decimal.

In short, 3textxor5=63 \\text{ xor } 5 = 6, so the answer is 55.


Sample Input 2

10 12

Sample Output 2

6

Figure