






from __future__ import annotations

from enum import Enum





class        a__      (	lowerCAmelCase__		):
		UpperCAmelCase_							:       List[str] 					= 24
		UpperCAmelCase_							:       str 					= 21
		UpperCAmelCase_							:       List[str] 					= 18
		UpperCAmelCase_							:       Dict 					= 15
		UpperCAmelCase_							:       Tuple 					= 12
		UpperCAmelCase_							:       Optional[int] 					= 9
		UpperCAmelCase_							:       List[Any] 					= 6
		UpperCAmelCase_							:       Any 					= 3
		UpperCAmelCase_							:       List[Any] 					= 2
		UpperCAmelCase_							:       Dict 					= 1
		UpperCAmelCase_							:       List[str] 					= -1
		UpperCAmelCase_							:       List[str] 					= -2
		UpperCAmelCase_							:       Any 					= -3
		UpperCAmelCase_							:       Any 					= -6
		UpperCAmelCase_							:       Dict 					= -9
		UpperCAmelCase_							:       int 					= -12
		UpperCAmelCase_							:       List[Any] 					= -15
		UpperCAmelCase_							:       List[Any] 					= -18
		UpperCAmelCase_							:       Dict 					= -21
		UpperCAmelCase_							:       Optional[Any] 					= -24





class        a__      (	lowerCAmelCase__		):
		UpperCAmelCase_							:       Optional[int] 					= 8
		UpperCAmelCase_							:       List[Any] 					= 7
		UpperCAmelCase_							:       List[str] 					= 6
		UpperCAmelCase_							:       Any 					= 5
		UpperCAmelCase_							:       Tuple 					= 4
		UpperCAmelCase_							:       int 					= 3
		UpperCAmelCase_							:       Union[str, Any] 					= 2
		UpperCAmelCase_							:       str 					= 1



def      UpperCAmelCase						( lowerCAmelCase__					,     lowerCAmelCase__					,     lowerCAmelCase__					,     ):


		'''simple docstring'''

		if isinstance(lowerCAmelCase__					,     lowerCAmelCase__	):
				__A    =							SIUnit[known_prefix.lower()]
		if isinstance(lowerCAmelCase__					,     lowerCAmelCase__	):
				__A    =							SIUnit[unknown_prefix.lower()]
		__A    =							known_amount * (
		    10 ** (known_prefix.value - unknown_prefix.value)
		)
		return unknown_amount



def      UpperCAmelCase						( lowerCAmelCase__					,     lowerCAmelCase__					,     lowerCAmelCase__					,     ):


		'''simple docstring'''

		if isinstance(lowerCAmelCase__					,     lowerCAmelCase__	):
				__A    =							BinaryUnit[known_prefix.lower()]
		if isinstance(lowerCAmelCase__					,     lowerCAmelCase__	):
				__A    =							BinaryUnit[unknown_prefix.lower()]
		__A    =							known_amount * (
		    2 ** ((known_prefix.value - unknown_prefix.value) * 10)
		)
		return unknown_amount


if __name__ == "__main__":
					import doctest

					doctest.testmod()


"""simple docstring"""
def  lowerCAmelCase__     (      _UpperCamelCase							:					list       )       ->					list:





						"""simple docstring"""






						if len(_UpperCamelCase       ) <= 1:
												return data
						else:
												return [
												    *quick_sort([e for e in data[1:] if e <= data[0]]       ),
												    data[0],
												    *quick_sort([e for e in data[1:] if e > data[0]]       ),
												]


if __name__ == "__main__":
					import doctest

					doctest.testmod()


