
"""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     lowercase__						(					lowerCAmelCase				:					list ) ->      list:






				"""simple docstring"""




				if not sequence:
								return []
				if len(_UpperCamelCase ) == 1:
								return list(_UpperCamelCase )
				UpperCAmelCase									=					0
				UpperCAmelCase									=					len(_UpperCamelCase ) - 1
				UpperCAmelCase									=					0
				while mid <= high:
								if sequence[mid] == colors[0]:
												UpperCAmelCase			,							UpperCAmelCase									=					sequence[mid], sequence[low]
												low += 1
												mid += 1
								elif sequence[mid] == colors[1]:
												mid += 1
								elif sequence[mid] == colors[2]:
												UpperCAmelCase			,							UpperCAmelCase									=					sequence[high], sequence[mid]
												high -= 1
								else:
												UpperCAmelCase									=					F"The elements inside the sequence must contains only {colors} values"
												raise ValueError(_UpperCamelCase )
				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)}')





"""simple docstring"""

from abc import ABC, abstractmethod
from argparse import ArgumentParser
class      _UpperCAmelCase							(		SCREAMING_SNAKE_CASE_							):




      @staticmethod
      @abstractmethod
      def     a_      (							lowercase_							)						->					Optional[Any]:
          raise NotImplementedError()




      @abstractmethod
      def     a_      (							self							)						->					Any:
          raise NotImplementedError()



