
"""simple docstring"""






def     lowerCAmelCase__ (		__magic_name__			)	->Union[str, Any]:
			__lowercase						      =					[7_0_1, 3_0_1, 1_3_2, 5_7, 2_3, 1_0, 4, 1]
			for gap in gaps:
						for i in range(__magic_name__ ,      len(__magic_name__			)			):
									__lowercase						      =					collection[i]
									__lowercase						      =					i
									while j >= gap and collection[j - gap] > insert_value:
												__lowercase						      =					collection[j - gap]
												j -= gap
									if j != i:
												__lowercase						      =					insert_value
			return collection


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

					testmod()
					_lowercase							 =							input('''Enter numbers separated by a comma:\n''').strip()
					_lowercase							 =							[int(item) for item in user_input.split(''',''')]
					print(shell_sort(unsorted))







"""simple docstring"""






from scipy.constants import g



def     lowerCAmelCase__ (		__magic_name__ ,      __magic_name__			)	->float:
			if mass < 0:
						# handling of negative values of mass
						raise ValueError("The mass of a body cannot be negative"			)
			if height < 0:
						# handling of negative values of height
						raise ValueError("The height above the ground cannot be negative"			)
			return mass * g * height


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

					testmod(name='''potential_energy''')





