



import random
from typing import Any

def        __a			(   __lowerCAmelCase   )     ->     list[Any]:
					for _ in range(len(__lowerCAmelCase   )   ):
										SCREAMING_SNAKE_CASE							:     Dict						=				random.randint(0      ,	len(__lowerCAmelCase   ) - 1   )
										SCREAMING_SNAKE_CASE							:     Dict						=				random.randint(0      ,	len(__lowerCAmelCase   ) - 1   )
										SCREAMING_SNAKE_CASE					,  SCREAMING_SNAKE_CASE							:     Union[str, Any]						=				data[b], data[a]
					return data


if __name__ == "__main__":
			_lowerCamelCase    :		Dict		      =    [0, 1, 2, 3, 4, 5, 6, 7]
			_lowerCamelCase    :		Tuple		      =    ["""python""", """says""", """hello""", """!"""]
			print("""Fisher-Yates Shuffle:""")
			print("""List""", integers, strings)
			print("""FY Shuffle""", fisher_yates_shuffle(integers), fisher_yates_shuffle(strings))




def        __a			(   __lowerCAmelCase   )     ->     List[str]:
					stooge(__lowerCAmelCase      ,	0      ,	len(__lowerCAmelCase   ) - 1   )
					return arr

def        __a			(   __lowerCAmelCase      ,	__lowerCAmelCase      ,	__lowerCAmelCase   )     ->     int:
					if i >= h:
										return

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

					# If there are more than 2 elements in the array
					if h - i + 1 > 2:
										SCREAMING_SNAKE_CASE							:     Union[str, Any]						=				(int)((h - i + 1) / 3   )

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

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

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


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