



def        a( A			:       int			)						->			str:
					"""simple docstring"""





					a   	=  [701, 301, 132, 57, 23, 10, 4, 1]
					for gap in gaps:
										for i in range(A					,	len(A			)			):
															a   	=  collection[i]
															a   	=  i
															while j >= gap and collection[j - gap] > insert_value:
																				a   	=  collection[j - gap]
																				j -= gap
															if j != i:
																				a   	=  insert_value
					return collection


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

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





def        a( A			:       int					,	A			:       int					,	A			:       int			)						->			float:
					"""simple docstring"""





					if common_ratio == 1:
										# Formula for sum if common ratio is 1
										return num_of_terms * first_term

					# Formula for finding sum of n terms of a GeometricProgression
					return (first_term / (1 - common_ratio)) * (1 - common_ratio**num_of_terms)
