{"problem":{"name":"A or...or B Problem","description":{"content":"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?","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"agc015_d"},"statements":[{"statement_type":"Markdown","content":"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?\n\n## Constraints\n\n*   $1 ≤ A ≤ B < 2^{60}$\n*   $A$ and $B$ are integers.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$A$\n$B$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"agc015_d","tags":[],"sample_group":[["7\n9","4\n\nIn 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\n98","63"],["271828182845904523\n314159265358979323","68833183630578410"]],"created_at":"2026-03-03 11:01:14"}}