
from __future__ import annotations


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

		if (stress, tangential_force, area).count(0			) != 1:
				raise ValueError('You cannot supply more or less than 2 values'			)
		elif stress < 0:
				raise ValueError('Stress cannot be negative'			)
		elif tangential_force < 0:
				raise ValueError('Tangential Force cannot be negative'			)
		elif area < 0:
				raise ValueError('Area cannot be negative'			)
		elif stress == 0:
				return (
				    "stress",
				    tangential_force / area,
				)
		elif tangential_force == 0:
				return (
				    "tangential_force",
				    stress * area,
				)
		else:
				return (
				    "area",
				    tangential_force / stress,
				)


if __name__ == "__main__":
					import doctest

					doctest.testmod()


from __future__ import annotations


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

		UpperCamelCase          =					[]
		UpperCamelCase     ,  UpperCamelCase          =					input_list[low:mid], input_list[mid : high + 1]
		while left and right:
				result.append((left if left[0] <= right[0] else right).pop(0			)			)
		UpperCamelCase          =					result + left + right
		return input_list


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

		if len(lowercase			) <= 1:
				return input_list
		UpperCamelCase          =					list(lowercase			)

		# iteration for two-way merging
		UpperCamelCase          =					2
		while p <= len(lowercase			):
				# getting low, high and middle value for merge-sort of single list
				for i in range(0   ,	len(lowercase			)   ,	lowercase			):
						UpperCamelCase          =					i
						UpperCamelCase          =					i + p - 1
						UpperCamelCase          =					(low + high + 1) // 2
						UpperCamelCase          =					merge(lowercase   ,	lowercase   ,	lowercase   ,	lowercase			)
				# final merge of last two parts
				if p * 2 >= len(lowercase			):
						UpperCamelCase          =					i
						UpperCamelCase          =					merge(lowercase   ,	0   ,	lowercase   ,	len(lowercase			) - 1			)
						break
				p *= 2

		return input_list


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