


def 			_a      (    __UpperCamelCase			):

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

     a_     :  Tuple				      =     number & ~(number - 1)
     a_     :  str				      =     0
     while intermediate:
          intermediate >>= 1
          index += 1
     return index - 1


if __name__ == "__main__":
       import doctest

       doctest.testmod(verbose=True)










"""simple docstring"""


def 				a__      (	_UpperCAmelCase						,  _UpperCAmelCase						,  _UpperCAmelCase						)     ->	float:

 '''simple docstring'''






 snake_case__     				=					[1 / first_term]
 snake_case__     				=					1 / first_term
 for _ in range(number_of_terms - 1						):
  first_term += common_difference
  arithmetic_progression.append(_UpperCAmelCase						)
 snake_case__     				=					[1 / step for step in arithmetic_progression]
 return sum(_UpperCAmelCase						)


if __name__ == "__main__":
   import doctest

   doctest.testmod()
   print(sum_of_harmonic_progression(1 / 2, 2, 2))

