


A       :		List[Any]    =   0  # The first color of the flag.
A       :		int    =   1  # The second color of the flag.
A       :		Union[str, Any]    =   2  # The third color of the flag.
A       :		str    =   (red, white, blue)






def  UpperCamelCase					(	__magic_name__     :							Optional[Any]     )   ->  list:
		"""simple docstring"""




		if not sequence:
				return []
		if len(_lowerCAmelCase     ) == 1:
				return list(_lowerCAmelCase     )
		lowercase__     			=		0
		lowercase__     			=		len(_lowerCAmelCase     ) - 1
		lowercase__     			=		0
		while mid <= high:
				if sequence[mid] == colors[0]:
						lowercase__     			=		sequence[mid], sequence[low]
						low += 1
						mid += 1
				elif sequence[mid] == colors[1]:
						mid += 1
				elif sequence[mid] == colors[2]:
						lowercase__     			=		sequence[high], sequence[mid]
						high -= 1
				else:
						lowercase__     			=		f'''The elements inside the sequence must contains only {colors} values'''
						raise ValueError(_lowerCAmelCase     )
		return sequence


if __name__ == "__main__":
	import doctest

	doctest.testmod()

	A       :		Optional[Any]    =   input('Enter numbers separated by commas:\n').strip()
	A       :		Optional[int]    =   [int(item.strip()) for item in user_input.split(',')]
	print(F'{dutch_national_flag_sort(unsorted)}')








def 		A_				(     _lowerCAmelCase     )						-> str:
 UpperCamelCase	:					Optional[int]       	=   int(_lowerCAmelCase     )
 if decimal in (0, 1):  # Exit cases for the recursion
  return str(_lowerCAmelCase     )
 UpperCamelCase	,    UpperCamelCase	:					Dict       	=   divmod(_lowerCAmelCase							,   2     )
 return binary_recursive(_lowerCAmelCase     ) + str(_lowerCAmelCase     )



def 		A_				(     _lowerCAmelCase     )						-> str:
 UpperCamelCase	:					Tuple       	=   str(_lowerCAmelCase     ).strip()
 if not number:
  raise ValueError("No input value was provided"     )
 UpperCamelCase	:					Optional[int]       	=   "-" if number.startswith("-"     ) else ""
 UpperCamelCase	:					Any       	=   number.lstrip("-"     )
 if not number.isnumeric():
  raise ValueError("Input value is not an integer"     )
 return F"""{negative}0b{binary_recursive(int(_lowerCAmelCase     )     )}"""


if __name__ == "__main__":
    from doctest import testmod

    testmod()
