


"""simple docstring"""





def    _snake_case  (  _snake_case :	list	):
      if len(_snake_case	) <= 1:
            return lst

      lowerCAmelCase    :		Any				=      1

      while i < len(_snake_case	):
            if lst[i - 1] <= lst[i]:
                  i += 1
            else:
                  lowerCAmelCase,					lowerCAmelCase    :		Tuple				=      lst[i], lst[i - 1]
                  i -= 1
                  if i == 0:
                        lowerCAmelCase    :		List[str]				=      1

      return lst


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








def SCREAMING_SNAKE_CASE				(       lowercase_ ,				lowercase_						)   ->       int:



       """simple docstring"""

       return int(input_a == input_a == 0						)







def SCREAMING_SNAKE_CASE				(       )   ->       None:



       """simple docstring"""

       print('''Truth Table of NOR Gate:'''						)
       print('''|   Input 1   |  Input 2  | Output |'''						)
       print(f"""|      0      |    0      |  {nor_gate(0 ,				0						)}     |"""						)
       print(f"""|      0      |    1      |  {nor_gate(0 ,				1						)}     |"""						)
       print(f"""|      1      |    0      |  {nor_gate(1 ,				0						)}     |"""						)
       print(f"""|      1      |    1      |  {nor_gate(1 ,				1						)}     |"""						)


if __name__ == "__main__":
  import doctest

  doctest.testmod()
  main()


