
"""simple docstring"""







from math import sqrt
def    __lowerCAmelCase    (_UpperCamelCase = 100_0000		):
	__lowerCAmelCase      :						int						      =				0
	__lowerCAmelCase      :						int						      =				0
	__lowerCAmelCase      :						int

	while num_cuboids <= limit:
		max_cuboid_size += 1
		for sum_shortest_sides in range(2	,  2 * max_cuboid_size + 1		):
			if sqrt(sum_shortest_sides**2 + max_cuboid_size**2		).is_integer():
				num_cuboids += (
				    min(_UpperCamelCase	,  sum_shortest_sides // 2		)
				    - max(1	,  sum_shortest_sides - max_cuboid_size		)
				    + 1
				)

	return max_cuboid_size


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

"""simple docstring"""







def    __lowerCAmelCase    (_UpperCamelCase		):
	if len(_UpperCamelCase		) <= 1:
		return lst

	__lowerCAmelCase      :						str						      =				1

	while i < len(_UpperCamelCase		):
		if lst[i - 1] <= lst[i]:
			i += 1
		else:
			__lowerCAmelCase      ,       __lowerCAmelCase      :						List[Any]						      =				lst[i], lst[i - 1]
			i -= 1
			if i == 0:
				__lowerCAmelCase      :						int						      =				1

	return lst


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