



"""simple docstring"""


def 				_lowerCAmelCase   (     lowercase_		):
						return 1 if input_a == 0 else 0

def 				_lowerCAmelCase   (     ):
						assert not_gate(0		) == 1
						assert not_gate(1		) == 0


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










"""simple docstring"""


from collections import Counter

def 				_lowerCAmelCase   (     lowercase_		):
						return sum(socks_by_color // 2 for socks_by_color in Counter(lowercase_		).values()		)


if __name__ == "__main__":
				import doctest

				doctest.testmod()

				snake_case_         = [int(x) for x in input("""Enter socks by color :""").rstrip().split()]
				print(f'''sock_merchant({colors}) = {sock_merchant(colors)}''')





