

'''simple docstring'''


def 	_a       (				__lowerCAmelCase		:      list     )     ->   Optional[Any]:

		"""simple docstring"""

		if len(__lowerCAmelCase     ) <= 1:
				return lst

		snake_case__						:       Any       						=  1

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

		return lst


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






'''simple docstring'''


from collections.abc import Generator




def 	_a       (				):

		"""simple docstring"""

		snake_case__						,       snake_case__						:       List[Any]       						=  0, 1
		while True:
				snake_case__						,       snake_case__						:       str       						=  b, a + b
				yield b




def 	_a       (				__lowerCAmelCase		:      int = 10_00     ):

		"""simple docstring"""

		snake_case__						:       Optional[int]       						=  1
		snake_case__						:       Tuple       						=  fibonacci_generator()
		while len(str(next(__lowerCAmelCase     )     )     ) < n:
				answer += 1
		return answer + 1


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



