





def 							lowerCAmelCase_				(    A_):

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

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


if __name__ == "__main__":
   import doctest

   doctest.testmod(verbose=True)








def 							lowerCAmelCase_				(    A_  ,A_  ,A_):
    UpperCamelCase__:					Optional[int]												=      [1 / first_term]
    UpperCamelCase__:					int												=      1 / first_term
    for _ in range(number_of_terms - 1):
        first_term += common_difference
        arithmetic_progression.append(A_)
    UpperCamelCase__:					str												=      [1 / step for step in arithmetic_progression]
    return sum(A_)


if __name__ == "__main__":
   import doctest

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

