


"""simple docstring"""






from collections import Counter
def    A_ ( _lowerCAmelCase  :       list[int]							):






     """simple docstring"""

     return sum(socks_by_color // 2 for socks_by_color in Counter(_lowerCAmelCase							).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)}')



"""simple docstring"""






def    A_ ( _lowerCAmelCase  :       str							):






     """simple docstring"""

     return "".join(chr(ord(_lowerCAmelCase							) + 32							) if '''A''' <= char <= '''Z''' else char for char in word							)


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

   testmod()