


'''simple docstring'''


def     snake_case_     (						SCREAMING_SNAKE_CASE__  ):







				"""simple docstring"""





				_SCREAMING_SNAKE_CASE				: int  	=   [701, 301, 132, 57, 23, 10, 4, 1]
				for gap in gaps:
								for i in range(SCREAMING_SNAKE_CASE__							,   len(SCREAMING_SNAKE_CASE__  )  ):
												_SCREAMING_SNAKE_CASE				: Union[str, Any]  	=   collection[i]
												_SCREAMING_SNAKE_CASE				: Tuple  	=   i
												while j >= gap and collection[j - gap] > insert_value:
																_SCREAMING_SNAKE_CASE				: Any  	=   collection[j - gap]
																j -= gap
												if j != i:
																_SCREAMING_SNAKE_CASE				: int  	=   insert_value
				return collection


if __name__ == "__main__":
				from doctest import testmod

				testmod()
				UpperCAmelCase_	:     List[str]							     =	input('Enter numbers separated by a comma:\n').strip()
				UpperCAmelCase_	:     List[str]							     =	[int(item) for item in user_input.split(',')]
				print(shell_sort(unsorted))








'''simple docstring'''


def     snake_case_     (						SCREAMING_SNAKE_CASE__							,   SCREAMING_SNAKE_CASE__  ):







				"""simple docstring"""





				return (input_a, input_a).count(0  ) % 2







def     snake_case_     (						):







				"""simple docstring"""





				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))




