






'''simple docstring'''
def 						__SCREAMING_SNAKE_CASE    (     _UpperCamelCase							):


   """simple docstring"""




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


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

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





"""simple docstring"""


def 			lowerCamelCase_ (					__lowerCAmelCase				)							->					str:




						'''simple docstring'''



						lowerCamelCase__					=1
						lowerCamelCase__					=0
						lowerCamelCase__					=1
						lowerCamelCase__					=1
						lowerCamelCase__					=3
						lowerCamelCase__					=3
						lowerCamelCase__					=limit
						lowerCamelCase__					=0

						lowerCamelCase__					=""
						while counter != decimal + 1:
												if 4 * q + r - t < n * t:
																		result += str(__lowerCAmelCase				)
																		if counter == 0:
																								result += "."

																		if decimal == counter:
																								break

																		counter += 1
																		lowerCamelCase__					=10 * (r - n * t)
																		lowerCamelCase__					=((10 * (3 * q + r)) // t) - 10 * n
																		q *= 10
																		lowerCamelCase__					=nr
												else:
																		lowerCamelCase__					=(2 * q + r) * l
																		lowerCamelCase__					=(q * (7 * k) + 2 + (r * l)) // (t * l)
																		q *= k
																		t *= l
																		l += 2
																		k += 1
																		lowerCamelCase__					=nn
																		lowerCamelCase__					=nr
						return result





def 			lowerCamelCase_ (					)							->					None:




						'''simple docstring'''



						print(F'''{calculate_pi(50				) = }'''				)
						import doctest

						doctest.testmod()


if __name__ == "__main__":
	main()


