LogiQuest

324. Bits to Flip

EasyXOR

Print the number of bits you must flip to convert a into b.

Input format

A single line: a b

Output format

The number of flips.

Example 1

Input

10 20

Output

4

Example 2

Input

7 10

Output

3

Constraints

0 ≤ a, b ≤ 10¹⁸

Read input from standard input and print the answer to standard output. Your code is judged against 4 test cases, most of them hidden.

Loading the MyLoginn IDE…