




'''simple docstring'''


def 						snake_case_       (UpperCamelCase			:    list ):





							'''simple docstring'''


							if len(UpperCamelCase ) <= 1:
														return lst

							_a      	=							1

							while i < len(UpperCamelCase ):
														if lst[i - 1] <= lst[i]:
																					i += 1
														else:
																					_a	,				_a      	=							lst[i], lst[i - 1]
																					i -= 1
																					if i == 0:
																												_a      	=							1

							return lst


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






from __future__ import annotations

from typing import Any


def A    (							__UpperCamelCase       )    ->   int:
			if not postfix_notation:
						return 0

			A__	  =     {'+', '-', '*', '/'}
			A__	  =     []

			for token in postfix_notation:
						if token in operations:
									A__  ,			A__	  =     stack.pop(), stack.pop()
									if token == "+":
												stack.append(a + b       )
									elif token == "-":
												stack.append(a - b       )
									elif token == "*":
												stack.append(a * b       )
									else:
												if a * b < 0 and a % b != 0:
															stack.append(a // b + 1       )
												else:
															stack.append(a // b       )
						else:
									stack.append(int(__UpperCamelCase       )       )

			return stack.pop()


if __name__ == "__main__":
							import doctest

							doctest.testmod()




