"""simple docstring"""







import warnings

from ...utils import logging
from .image_processing_detr import DetrImageProcessor


_SCREAMING_SNAKE_CASE	:		str   =   logging.get_logger(__name__)






class      _SCREAMING_SNAKE_CASE							(			UpperCAmelCase				):



   '''simple docstring'''



   def __init__(	self ,				*_SCREAMING_SNAKE_CASE ,				**_SCREAMING_SNAKE_CASE	):


      '''simple docstring'''

      warnings.warn(
          'The class DetrFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
          ' Please use DetrImageProcessor instead.' ,				_SCREAMING_SNAKE_CASE ,				)
      super().__init__(*_SCREAMING_SNAKE_CASE ,				**_SCREAMING_SNAKE_CASE	)







"""simple docstring"""







from collections import Counter



def       A__    (	lowercase_     :	list[int]						)  ->							int:
   return sum(socks_by_color // 2 for socks_by_color in Counter(lowercase_						).values()						)


if __name__ == "__main__":
     import doctest

     doctest.testmod()

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






