



"""simple docstring"""
def        lowerCAmelCase_						(							SCREAMING_SNAKE_CASE__, SCREAMING_SNAKE_CASE__	)			->      int:
		return number | (1 << position)



def        lowerCAmelCase_						(							SCREAMING_SNAKE_CASE__, SCREAMING_SNAKE_CASE__	)			->      int:
		return number & ~(1 << position)



def        lowerCAmelCase_						(							SCREAMING_SNAKE_CASE__, SCREAMING_SNAKE_CASE__	)			->      int:
		return number ^ (1 << position)



def        lowerCAmelCase_						(							SCREAMING_SNAKE_CASE__, SCREAMING_SNAKE_CASE__	)			->      bool:
		return ((number >> position) & 1) == 1



def        lowerCAmelCase_						(							SCREAMING_SNAKE_CASE__, SCREAMING_SNAKE_CASE__	)			->      int:
		return int((number & (1 << position)) != 0	)


if __name__ == "__main__":
					import doctest

					doctest.testmod()




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



def        lowerCAmelCase_						(							SCREAMING_SNAKE_CASE__	)			->      list:
		if not sequence:
				return []
		if len(SCREAMING_SNAKE_CASE__	) == 1:
				return list(SCREAMING_SNAKE_CASE__	)
		a_     :      Dict 						=     0
		a_     :      List[Any] 						=     len(SCREAMING_SNAKE_CASE__	) - 1
		a_     :      str 						=     0
		while mid <= high:
				if sequence[mid] == colors[0]:
						a_						,				a_     :      int 						=     sequence[mid], sequence[low]
						low += 1
						mid += 1
				elif sequence[mid] == colors[1]:
						mid += 1
				elif sequence[mid] == colors[2]:
						a_						,				a_     :      List[Any] 						=     sequence[high], sequence[mid]
						high -= 1
				else:
						a_     :      Dict 						=     F"""The elements inside the sequence must contains only {colors} values"""
						raise ValueError(SCREAMING_SNAKE_CASE__	)
		return sequence


if __name__ == "__main__":
					import doctest

					doctest.testmod()

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