
from collections import Counter




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


if __name__ == "__main__":
      import doctest

      doctest.testmod()

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





_A							=       [chr(i) for i in range(32, 126)]
_A							=       list(range(len(alphabets)))
_A							=       list(range(len(alphabets)))
_A							=       list(range(len(alphabets)))
_A							=       list(reversed(range(len(alphabets))))
_A							=       []
_A							=       _A							=       _A							=       0




def 					lowerCamelCase__					(    )		->						List[str]:
       global gear_one_pos
       global gear_two_pos
       global gear_three_pos
       UpperCamelCase_											=							gear_one[0]
       gear_one.append(a__  )
       del gear_one[0]
       gear_one_pos += 1
       if gear_one_pos % int(len(a__  )  ) == 0:
              UpperCamelCase_											=							gear_two[0]
              gear_two.append(a__  )
              del gear_two[0]
              gear_two_pos += 1
              if gear_two_pos % int(len(a__  )  ) == 0:
                     UpperCamelCase_											=							gear_three[0]
                     gear_three.append(a__  )
                     del gear_three[0]
                     gear_three_pos += 1




def 					lowerCamelCase__					(    a__	:	Optional[int]  )		->						Any:
       UpperCamelCase_											=							alphabets.index(a__  )
       UpperCamelCase_											=							gear_one[target]
       UpperCamelCase_											=							gear_two[target]
       UpperCamelCase_											=							gear_three[target]
       UpperCamelCase_											=							reflector[target]
       UpperCamelCase_											=							gear_three.index(a__  )
       UpperCamelCase_											=							gear_two.index(a__  )
       UpperCamelCase_											=							gear_one.index(a__  )
       code.append(alphabets[target]  )
       rotator()


if __name__ == "__main__":
      _A							=       list(input('''Type your message:\n'''))
      while True:
            try:
                  _A							=       int(input('''Please set token:(must be only digits)\n'''))
                  break
            except Exception as error:
                  print(error)
      for _ in range(token):
            rotator()
      for j in decode:
            engine(j)
      print('''\n''' + ''''''.join(code))
      print(
          F'''\nYour Token is {token} please write it down.\nIf you want to decode '''
          '''this message again you should input same digits as token!'''
      )



