


'''simple docstring'''


def      snake_case_  (    SCREAMING_SNAKE_CASE__ = 100_0000	):







				"""simple docstring"""





				_SCREAMING_SNAKE_CASE					:			int							= 1
				_SCREAMING_SNAKE_CASE					:			List[str]							= 1
				_SCREAMING_SNAKE_CASE					:			Any							= {1: 1}

				for inputa in range(2				, SCREAMING_SNAKE_CASE__	):
								_SCREAMING_SNAKE_CASE					:			str							= 0
								_SCREAMING_SNAKE_CASE					:			str							= inputa

								while True:
												if number in counters:
																counter += counters[number]
																break
												if number % 2 == 0:
																number //= 2
																counter += 1
												else:
																_SCREAMING_SNAKE_CASE					:			int							= (3 * number) + 1
																counter += 1

								if inputa not in counters:
												_SCREAMING_SNAKE_CASE					:			List[Any]							= counter

								if counter > pre_counter:
												_SCREAMING_SNAKE_CASE					:			Tuple							= inputa
												_SCREAMING_SNAKE_CASE					:			int							= counter
				return largest_number


if __name__ == "__main__":
				print(solution(int(input().strip())))








'''simple docstring'''


from __future__ import annotations







def      snake_case_  (    SCREAMING_SNAKE_CASE__				, SCREAMING_SNAKE_CASE__	):







				"""simple docstring"""





				if len(SCREAMING_SNAKE_CASE__	) <= 1 or n <= 1:
								return

				insert_next(SCREAMING_SNAKE_CASE__				, n - 1	)
				rec_insertion_sort(SCREAMING_SNAKE_CASE__				, n - 1	)







def      snake_case_  (    SCREAMING_SNAKE_CASE__				, SCREAMING_SNAKE_CASE__	):







				"""simple docstring"""





				if index >= len(SCREAMING_SNAKE_CASE__	) or collection[index - 1] <= collection[index]:
								return

				# Swaps adjacent elements since they are not in ascending order
				_SCREAMING_SNAKE_CASE						,			_SCREAMING_SNAKE_CASE					:			List[Any]							= (
				    collection[index],
				    collection[index - 1],
				)

				insert_next(SCREAMING_SNAKE_CASE__				, index + 1	)


if __name__ == "__main__":
				UpperCAmelCase_						:  List[str]				  =						input('Enter integers separated by spaces: ')
				UpperCAmelCase_						:  list[int]				  =						[int(num) for num in numbers.split()]
				rec_insertion_sort(number_list, len(number_list))
				print(number_list)




