




"""simple docstring"""




def       __UpperCAmelCase      (				__UpperCamelCase = 20					):

			try:
						__lowercase	:       Tuple				=   int(A_					)
			except (TypeError, ValueError):
						raise TypeError('''Parameter n must be int or castable to int.'''					)
			if n <= 0:
						raise ValueError('''Parameter n must be greater than or equal to one.'''					)
			__lowercase	:       str				=   0
			while 1:
						i += n * (n - 1)
						__lowercase	:       Dict				=   0
						for j in range(2					,							A_					):
									if i % j != 0:
												__lowercase	:       Optional[Any]				=   1
												break
						if nfound == 0:
									if i == 0:
												__lowercase	:       List[str]				=   1
									return i
			return None


if __name__ == "__main__":
			print(F"{solution() = }")






"""simple docstring"""




def       __UpperCAmelCase      (				__UpperCamelCase					):
			if len(__UpperCamelCase					) <= 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()



