






UpperCamelCase 				=	0  # The first color of the flag.
UpperCamelCase 				=	1  # The second color of the flag.
UpperCamelCase 				=	2  # The third color of the flag.
UpperCamelCase 				=	(red, white, blue)

def        __lowerCamelCase			(		snake_case__		)							->  List[str]:






						"""simple docstring"""





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


if __name__ == "__main__":
		import doctest

		doctest.testmod()

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






"""simple docstring"""
A:   Union[str, Any]								=		{
    0: "0",
    1: "1",
    2: "2",
    3: "3",
    4: "4",
    5: "5",
    6: "6",
    7: "7",
    8: "8",
    9: "9",
    1_0: "a",
    1_1: "b",
    1_2: "c",
    1_3: "d",
    1_4: "e",
    1_5: "f",
}

def       _snake_case						(						UpperCamelCase						:		float						):
 assert type(UpperCamelCase						) in (int, float) and decimal == int(UpperCamelCase						)
 UpperCAmelCase	:					str	=	int(UpperCamelCase						)
 UpperCAmelCase	:					Optional[int]	=	""""""
 UpperCAmelCase	:					List[str]	=	False
 if decimal < 0:
  UpperCAmelCase	:					Any	=	True
  decimal *= -1
 while decimal > 0:
  UpperCAmelCase	,		UpperCAmelCase	:					Dict	=	divmod(UpperCamelCase			,		16						)
  UpperCAmelCase	:					Union[str, Any]	=	values[remainder] + hexadecimal
 UpperCAmelCase	:					int	=	"""0x""" + hexadecimal
 if negative:
  UpperCAmelCase	:					Optional[int]	=	"""-""" + hexadecimal
 return hexadecimal


if __name__ == "__main__":
      import doctest

      doctest.testmod()
