


from __future__ import annotations






def 	a__ (							A__,			A__,			A__							):
			if len(A__							) == 0:
						raise ValueError('find_min() arg is an empty sequence'							)
			if (
			    left >= len(A__							)
			    or left < -len(A__							)
			    or right >= len(A__							)
			    or right < -len(A__							)
			):
						raise IndexError('list index out of range'							)
			if left == right:
						return nums[left]
			SCREAMING_SNAKE_CASE_		:    Tuple 		=				(left + right) >> 1  # the middle
			SCREAMING_SNAKE_CASE_		:    List[str] 		=				find_min(A__,			A__,			A__							)  # find min in range[left, mid]
			SCREAMING_SNAKE_CASE_		:    str 		=				find_min(A__,			mid + 1,			A__							)  # find min in range[mid + 1, right]

			return left_min if left_min <= right_min else right_min


if __name__ == "__main__":
				import doctest

				doctest.testmod(verbose=True)









from collections import Counter






def 	a__ (							A__							):
			return sum(socks_by_color // 2 for socks_by_color in Counter(A__							).values()							)


if __name__ == "__main__":
				import doctest

				doctest.testmod()

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





