def     _a				(      lowercase__  :			list ):







     '''simple docstring'''


     SCREAMING_SNAKE_CASE__				:				str			=		False
     while is_sorted is False:  # Until all the indices are traversed keep looping
          SCREAMING_SNAKE_CASE__				:				List[Any]			=		True
          for i in range(0     ,  len(lowercase__ ) - 1     ,  2 ):  # iterating over all even indices
               if input_list[i] > input_list[i + 1]:
                    SCREAMING_SNAKE_CASE__			,							SCREAMING_SNAKE_CASE__				:				int			=		input_list[i + 1], input_list[i]
                    # swapping if elements not in order
                    SCREAMING_SNAKE_CASE__				:				int			=		False

          for i in range(1     ,  len(lowercase__ ) - 1     ,  2 ):  # iterating over all odd indices
               if input_list[i] > input_list[i + 1]:
                    SCREAMING_SNAKE_CASE__			,							SCREAMING_SNAKE_CASE__				:				Optional[Any]			=		input_list[i + 1], input_list[i]
                    # swapping if elements not in order
                    SCREAMING_SNAKE_CASE__				:				Optional[Any]			=		False
     return input_list


if __name__ == "__main__":
      print("Enter list to be sorted")
      SCREAMING_SNAKE_CASE__		:					List[str]						=					[int(x) for x in input().split()]
      # inputing elements of the list in one line
      SCREAMING_SNAKE_CASE__		:					Dict						=					odd_even_sort(input_list)
      print("The sorted list is")
      print(sorted_list)




def     _a				(      lowercase__  :			int     ,  lowercase__  :			int ):







     '''simple docstring'''


     return int((input_a, input_a).count(0 ) != 0 )







def     _a				(      ):







     '''simple docstring'''


     assert nand_gate(0     ,  0 ) == 1
     assert nand_gate(0     ,  1 ) == 1
     assert nand_gate(1     ,  0 ) == 1
     assert nand_gate(1     ,  1 ) == 0


if __name__ == "__main__":
      print(nand_gate(0, 0))
      print(nand_gate(0, 1))
      print(nand_gate(1, 0))
      print(nand_gate(1, 1))



