



"""simple docstring"""







from collections import Counter

def 							UpperCamelCase_       (       lowerCAmelCase__ :							list[int]		)		->  int:

  """simple docstring"""




  return sum(socks_by_color // 2 for socks_by_color in Counter(lowerCAmelCase__		).values()		)


if __name__ == "__main__":
     import doctest

     doctest.testmod()

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










"""simple docstring"""







def 							UpperCamelCase_       (       lowerCAmelCase__ :							int = 400_0000		)		->  int:

  """simple docstring"""




  if n <= 1:
    return 0
  lowerCAmelCase_  :							Union[str, Any]								=					0
  lowerCAmelCase_  :							Tuple								=					2
  lowerCAmelCase_  :							List[Any]								=					0
  while 4 * b + a <= n:
    lowerCAmelCase_		,lowerCAmelCase_  :							str								=					b, 4 * b + a
    count += a
  return count + b


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





