


from doctest import testmod
from math import sqrt






def 	a__ (							A__							):
			SCREAMING_SNAKE_CASE_		:    list[int] 		=				[]
			if num < 1:
						return facs
			facs.append(1							)
			if num == 1:
						return facs
			facs.append(A__							)
			for i in range(2,			int(sqrt(A__							)							) + 1							):
						if num % i == 0:  # If i is a factor of num
									facs.append(A__							)
									SCREAMING_SNAKE_CASE_		:    str 		=				num // i  # num//i is the other factor of num
									if d != i:  # If d and i are distinct
												facs.append(A__							)  # we have found another factor
			facs.sort()
			return facs


if __name__ == "__main__":
				testmod(name='factors_of_a_number', verbose=True)









from collections import Counter






def 	a__ (							A__							):
			return sum(socks_by_color // 2 for socks_by_color in Counter(A__							).values()							)


if __name__ == "__main__":
				import doctest

				doctest.testmod()

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





