'''simple docstring'''

def        UpperCAmelCase__   (				_lowerCAmelCase    :			list)    ->		list:



						"""simple docstring"""

						if len(_lowerCAmelCase) <= 1:
												return data
						else:
												return [
												    *quick_sort([e for e in data[1:] if e <= data[0]]),
												    data[0],
												    *quick_sort([e for e in data[1:] if e > data[0]]),
												]


if __name__ == "__main__":
						import doctest

						doctest.testmod()






'''simple docstring'''

from __future__ import annotations


def        UpperCAmelCase__   (				_lowerCAmelCase    :			list[int | float])    ->		int | float:



						"""simple docstring"""

						if len(_lowerCAmelCase) == 0:
												raise ValueError("find_max() arg is an empty sequence")
						snake_case :       Any				=    nums[0]
						for x in nums:
												if x > max_num:
																		snake_case :       int				=    x
						return max_num


if __name__ == "__main__":
						import doctest

						doctest.testmod(verbose=True)





