
'''simple docstring'''





def        snake_case							(		UpperCAmelCase	)->			list:







      """simple docstring"""
      __A       	=			len(UpperCAmelCase	)
      for cycle_start in range(0      ,  array_len - 1	):
            __A       	=			array[cycle_start]

            __A       	=			cycle_start
            for i in range(cycle_start + 1      ,  UpperCAmelCase	):
                  if array[i] < item:
                        pos += 1

            if pos == cycle_start:
                  continue

            while item == array[pos]:
                  pos += 1

            __A	,      __A       	=			item, array[pos]
            while pos != cycle_start:
                  __A       	=			cycle_start
                  for i in range(cycle_start + 1      ,  UpperCAmelCase	):
                        if array[i] < item:
                              pos += 1

                  while item == array[pos]:
                        pos += 1

                  __A	,      __A       	=			item, array[pos]

      return array


if __name__ == "__main__":
 assert cycle_sort([4, 5, 3, 2, 1]) == [1, 2, 3, 4, 5]
 assert cycle_sort([0, 1, -1_0, 1_5, 2, -2]) == [-1_0, -2, 0, 1, 2, 1_5]








'''simple docstring'''





def        snake_case							(		UpperCAmelCase	)->			int:







      """simple docstring"""
      return 1 if input_a == 0 else 0





def        snake_case							(		)->			None:







      """simple docstring"""
      assert not_gate(0	) == 1
      assert not_gate(1	) == 0


if __name__ == "__main__":
 print(not_gate(0))
 print(not_gate(1))






