


def     UpperCamelCase_(			_A				:int					)->						int:

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

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


if __name__ == "__main__":
						import doctest

						doctest.testmod(verbose=True)






from __future__ import annotations
def     UpperCamelCase_(			_A				:list					)->						int | float:
			UpperCamelCase__   =    sorted(_A					)
			UpperCamelCase__   =    len(_A					)
			UpperCamelCase__   =    length >> 1
			return (
			    (sorted_list[mid_index] + sorted_list[mid_index - 1]) / 2
			    if length % 2 == 0
			    else sorted_list[mid_index]
			)
def     UpperCamelCase_(			)->						List[Any]:
			import doctest

			doctest.testmod()


if __name__ == "__main__":
						main()


