Score : $900$ points
Nukes has an integer that can be represented as the bitwise OR of one or more integers between $A$ and $B$ (inclusive). How many possible candidates of the value of Nukes's integer there are?
The input is given from Standard Input in the following format:
$A$ $B$
Print the number of possible candidates of the value of Nukes's integer.
7 9
4
In this case, $A=7$ and $B=9$. There are four integers that can be represented as the bitwise OR of a non-empty subset of {$7$, $8$, $9$}: $7$, $8$, $9$ and $15$.
65 98
63
271828182845904523 314159265358979323
68833183630578410