code: '''simple docstring'''
  
  
  
  
  
  def      SCREAMING_SNAKE_CASE_  (		snake_case__							)  ->			list:
  							lowerCAmelCase				=	len(snake_case__							)
  							for cycle_start in range(0     ,						array_len - 1							):
  														lowerCAmelCase				=	array[cycle_start]
  
  														lowerCAmelCase				=	cycle_start
  														for i in range(cycle_start + 1     ,						snake_case__							):
  																					if array[i] < item:
  																												pos += 1
  
  														if pos == cycle_start:
  																					continue
  
  														while item == array[pos]:
  																					pos += 1
  
  														lowerCAmelCase	,   lowerCAmelCase				=	item, array[pos]
  														while pos != cycle_start:
  																					lowerCAmelCase				=	cycle_start
  																					for i in range(cycle_start + 1     ,						snake_case__							):
  																												if array[i] < item:
  																																			pos += 1
  
  																					while item == array[pos]:
  																												pos += 1
  
  																					lowerCAmelCase	,   lowerCAmelCase				=	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]
  
  
  
  
style_context: def      SCREAMING_SNAKE_CASE_  (		snake_case__     ,						snake_case__							)  ->			int:
  							return (input_a, input_a).count(0							) % 2
  
  def      SCREAMING_SNAKE_CASE_  (		)  ->			None:
  							assert xor_gate(0     ,						0							) == 0
  							assert xor_gate(0     ,						1							) == 1
  							assert xor_gate(1     ,						0							) == 1
  							assert xor_gate(1     ,						1							) == 0
  
  
  if __name__ == "__main__":
  	print(xor_gate(0, 0))
  	print(xor_gate(0, 1))
  
  
  
  