



"""simple docstring"""


from itertools import combinations, product

def 				_lowerCAmelCase   (     lowercase_	,			lowercase_	,			lowercase_	,			lowercase_		):
						if xa == ya == 0 or xa == ya == 0:
												return False
						UpperCAmelCase    =				xa * xa + ya * ya
						UpperCAmelCase    =				xa * xa + ya * ya
						UpperCAmelCase    =				(xa - xa) * (xa - xa) + (ya - ya) * (ya - ya)
						return (
						    a_square + b_square == c_square
						    or a_square + c_square == b_square
						    or b_square + c_square == a_square
						)

def 				_lowerCAmelCase   (     lowercase_ = 50		):
						return sum(
						    1
						    for pta, pta in combinations(product(range(limit + 1		)	,			repeat=2		)	,			2		)
						    if is_right(*lowercase_	,			*lowercase_		)		)


if __name__ == "__main__":
				print(f'''{solution() = }''')










"""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)}''')





