
'''simple docstring'''


import random




def lowercase_		(				_lowercase			)       ->							Union[str, Any]:
					'''simple docstring'''

					def is_sorted(_lowercase			):
										for i in range(len(_lowercase			) - 1			):
															if collection[i] > collection[i + 1]:
																				return False
										return True

					while not is_sorted(_lowercase			):
										random.shuffle(_lowercase			)
					return collection


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




'''simple docstring'''


def lowercase_		(				_lowercase			)       ->							int:
					'''simple docstring'''

					if not isinstance(_lowercase     ,    _lowercase			):
										raise TypeError('''recursive_lucas_number accepts only integer arguments.'''			)
					if n_th_number == 0:
										return 2
					if n_th_number == 1:
										return 1

					return recursive_lucas_number(n_th_number - 1			) + recursive_lucas_number(
					    n_th_number - 2			)




def lowercase_		(				_lowercase			)       ->							int:
					'''simple docstring'''

					if not isinstance(_lowercase     ,    _lowercase			):
										raise TypeError('''dynamic_lucas_number accepts only integer arguments.'''			)
					lowerCamelCase_, lowerCamelCase_   : List[Any]       =						2, 1
					for _ in range(_lowercase			):
										lowerCamelCase_, lowerCamelCase_   : Dict       =						b, a + b
					return a


if __name__ == "__main__":
					from doctest import testmod

					testmod()
					__lowercase							:				Any					=       int(input('''Enter the number of terms in lucas series:\n''').strip())
					print('''Using recursive function to calculate lucas series:''')
					print(''' '''.join(str(recursive_lucas_number(i)) for i in range(n)))
					print('''\nUsing dynamic function to calculate lucas series:''')
					print(''' '''.join(str(dynamic_lucas_number(i)) for i in range(n)))


