



"""simple docstring"""
def        lowerCAmelCase_						(							SCREAMING_SNAKE_CASE__, SCREAMING_SNAKE_CASE__	)			->      Optional[int]:



		if not len(_SCREAMING_SNAKE_CASE	) == len(_SCREAMING_SNAKE_CASE	) == 3:
				raise ValueError("Please enter a valid equation."	)
		if equationa[0] == equationa[1] == equationa[0] == equationa[1] == 0:
				raise ValueError("Both a & b of two equations can\'t be zero."	)

		# Extract the coefficients
		a_						,				a_						,				a_     :      Optional[int] 						=     equationa
		a_						,				a_						,				a_     :      Union[str, Any] 						=     equationa

		# Calculate the determinants of the matrices
		a_     :      Dict 						=     aa * ba - aa * ba
		a_     :      Optional[int] 						=     ca * ba - ca * ba
		a_     :      int 						=     aa * ca - aa * ca

		# Check if the system of linear equations has a solution (using Cramer's rule)
		if determinant == 0:
				if determinant_x == determinant_y == 0:
						raise ValueError("Infinite solutions. (Consistent system)"	)
				else:
						raise ValueError("No solution. (Inconsistent system)"	)
		else:
				if determinant_x == determinant_y == 0:
						# Trivial solution (Inconsistent system)
						return (0.0, 0.0)
				else:
						a_     :      Dict 						=     determinant_x / determinant
						a_     :      Tuple 						=     determinant_y / determinant
						# Non-Trivial Solution (Consistent system)
						return (x, y)




"""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)}""")