





'''simple docstring'''

def  _a     (				lowerCAmelCase_						):





      """simple docstring"""



      if not isinstance(lowerCAmelCase_      ,   lowerCAmelCase_						) or number < 0:
            raise ValueError('''Input must be a non-negative integer'''						)

      _snake_case		:						int         =  number & ~(number - 1)
      _snake_case		:						Any         =  0
      while intermediate:
            intermediate >>= 1
            index += 1
      return index - 1


if __name__ == "__main__":
   import doctest

   doctest.testmod(verbose=True)









'''simple docstring'''

def  _a     (				lowerCAmelCase_ = 4_000_000						):





      """simple docstring"""



      _snake_case		:						Optional[int]         =  1
      _snake_case		:						Tuple         =  2
      _snake_case		:						Optional[Any]         =  0
      while j <= n:
            if j % 2 == 0:
                  total += j
            _snake_case  ,				_snake_case		:						str         =  j, i + j

      return total


if __name__ == "__main__":
   print(F"""{solution() = }""")


