





# flake8: noqa
# Lint as: python3
lowercase_						=	[
    'VerificationMode',
    'Version',
    'disable_progress_bar',
    'enable_progress_bar',
    'is_progress_bar_enabled',
    'experimental',
]

from .info_utils import VerificationMode
from .logging import disable_progress_bar, enable_progress_bar, is_progress_bar_enabled
from .version import Version
from .experimental import experimental









def     __UpperCamelCase						(_SCREAMING_SNAKE_CASE	)       ->     List[Any]:
  stooge(_SCREAMING_SNAKE_CASE	,		0	,		len(_SCREAMING_SNAKE_CASE	) - 1	)
  return arr




def     __UpperCamelCase						(_SCREAMING_SNAKE_CASE	,		_SCREAMING_SNAKE_CASE	,		_SCREAMING_SNAKE_CASE	)       ->     int:
  if i >= h:
    return

  # If first element is smaller than the last then swap them
  if arr[i] > arr[h]:
    lowercase__    ,					lowercase__			    =						arr[h], arr[i]

  # If there are more than 2 elements in the array
  if h - i + 1 > 2:
    lowercase__			    =						(int)((h - i + 1) / 3	)

    # Recursively sort first 2/3 elements
    stooge(_SCREAMING_SNAKE_CASE	,		_SCREAMING_SNAKE_CASE	,		(h - t)	)

    # Recursively sort last 2/3 elements
    stooge(_SCREAMING_SNAKE_CASE	,		i + t	,		(_SCREAMING_SNAKE_CASE)	)

    # Recursively sort first 2/3 elements
    stooge(_SCREAMING_SNAKE_CASE	,		_SCREAMING_SNAKE_CASE	,		(h - t)	)


if __name__ == "__main__":
      lowercase_					     =	input("""Enter numbers separated by a comma:\n""").strip()
      lowercase_					     =	[int(item) for item in user_input.split(""",""")]
      print(stooge_sort(unsorted))


