


"""simple docstring"""




def       a_ (	lowercase__ :list     ):
			__lowerCamelCase          =      len(lowercase__     )
			for i in range(1,			lowercase__     ):
						__lowerCamelCase          =      collection[i]
						__lowerCamelCase          =      0
						__lowerCamelCase          =      i - 1

						while low <= high:
									__lowerCamelCase          =      (low + high) // 2
									if val < collection[mid]:
												__lowerCamelCase          =      mid - 1
									else:
												__lowerCamelCase          =      mid + 1
						for j in range(lowercase__,			lowercase__,			-1     ):
									__lowerCamelCase          =      collection[j - 1]
						__lowerCamelCase          =      val
			return collection


if __name__ == "__main__":
					__magic_name__						: Dict    =				input('Enter numbers separated by a comma:\n').strip()
					__magic_name__						: List[Any]    =				[int(item) for item in user_input.split(',')]
					print(binary_insertion_sort(unsorted))








"""simple docstring"""




def       a_ (	lowercase__ :int = 10**9     ):
			__lowerCamelCase          =      1
			__lowerCamelCase          =      2

			__lowerCamelCase          =      0
			__lowerCamelCase          =      0
			__lowerCamelCase          =      0
			while perimeter <= max_perimeter:
						perimeters_sum += perimeter

						prev_value += 2 * value
						value += prev_value

						__lowerCamelCase          =      2 * value + 2 if i % 2 == 0 else 2 * value - 2
						i += 1

			return perimeters_sum


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




