
from __future__ import annotations

_UpperCAmelCase					: Tuple      =       8.988e9  # units = N * m^s * C^-2


def       A       (					lowercase    ,       lowercase    ,       lowercase    ,       lowercase )   ->  dict[str, float]:
		'''simple docstring'''

		UpperCamelCase		=     abs(chargea * chargea )

		if (force, chargea, chargea, distance).count(0 ) != 1:
				raise ValueError('One and only one argument must be 0' )
		if distance < 0:
				raise ValueError('Distance cannot be negative' )
		if force == 0:
				UpperCamelCase		=     COULOMBS_CONSTANT * charge_product / (distance**2)
				return {"force": force}
		elif chargea == 0:
				UpperCamelCase		=     abs(lowercase ) * (distance**2) / (COULOMBS_CONSTANT * chargea)
				return {"charge1": chargea}
		elif chargea == 0:
				UpperCamelCase		=     abs(lowercase ) * (distance**2) / (COULOMBS_CONSTANT * chargea)
				return {"charge2": chargea}
		elif distance == 0:
				UpperCamelCase		=     (COULOMBS_CONSTANT * charge_product / abs(lowercase )) ** 0.5
				return {"distance": distance}
		raise ValueError('Exactly one argument must be 0' )


if __name__ == "__main__":
					import doctest

					doctest.testmod()


def       A       (					lowercase )   ->  list:
		'''simple docstring'''

		UpperCamelCase		=     len(lowercase )
		for i in range(1    ,       lowercase ):
				UpperCamelCase		=     collection[i]
				UpperCamelCase		=     0
				UpperCamelCase		=     i - 1

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


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