output_description: Print the number of possible candidates of the value of Nukes's integer.
  
  * * *
input_description: The input is given from Standard Input in the following format:
  
      
      
      A
      B
attempt: a = input()
  b = input()
  a = int(a)
  b = int(b)
  print(a - b)
  
problem_description: Statement
  
  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?
samples: [{"input": "7\n    9", "output": "4\n    \n\nIn this case, A=7 and B=9. There are four integers that can be represented as\nthe bitwise OR of a non-empty subset of {7, 8, 9}: 7, 8, 9 and 15.\n\n* * *"}, {"input": "65\n    98", "output": "63\n    \n\n* * *"}, {"input": "271828182845904523\n    314159265358979323", "output": "68833183630578410"}]