

"""simple docstring"""

from collections import Counter



def 			SCREAMING_SNAKE_CASE       (   lowercase__      ) ->	int:
 return sum(socks_by_color // 2 for socks_by_color in Counter(lowercase__      ).values()      )


if __name__ == "__main__":
    import doctest

    doctest.testmod()

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









"""simple docstring"""

def 			SCREAMING_SNAKE_CASE       (   lowercase__      ) ->	int:
 return 1 if input_a == 0 else 0



def 			SCREAMING_SNAKE_CASE       (   ) ->	None:
 assert not_gate(0      ) == 1
 assert not_gate(1      ) == 0


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






