import cmath
import math






def   UpperCAmelCase					(	UpperCamelCase__       ,    UpperCamelCase__       ,    UpperCamelCase__       ,    UpperCamelCase__				):






							"""simple docstring"""





							A__	     =							math.radians(UpperCamelCase__				)
							A__	     =							math.radians(UpperCamelCase__				)

							# Convert voltage and current to rectangular form
							A__	     =							cmath.rect(UpperCamelCase__       ,    UpperCamelCase__				)
							A__	     =							cmath.rect(UpperCamelCase__       ,    UpperCamelCase__				)

							# Calculate apparent power
							return voltage_rect * current_rect


if __name__ == "__main__":
				import doctest

				doctest.testmod()






"""simple docstring"""




def   UpperCAmelCase					(	UpperCamelCase__				):






							"""simple docstring"""





							A__     ,  A__	     =							[], []
							while len(UpperCamelCase__				) > 1:
														A__     ,  A__	     =							min(UpperCamelCase__				), max(UpperCamelCase__				)
														start.append(UpperCamelCase__				)
														end.append(UpperCamelCase__				)
														collection.remove(UpperCamelCase__				)
														collection.remove(UpperCamelCase__				)
							end.reverse()
							return start + collection + end


if __name__ == "__main__":
				__lowerCamelCase											=  input("Enter numbers separated by a comma:\n").strip()
				__lowerCamelCase											=  [int(item) for item in user_input.split(",")]
				print(*merge_sort(unsorted), sep=",")





