



"""simple docstring"""


def 				_lowerCAmelCase   (     lowercase_ = 998001		):
						UpperCAmelCase    =				0
						for i in range(999	,			99	,			-1		):  # 3 digit numbers range from 999 down to 100
												for j in range(999	,			99	,			-1		):
																		UpperCAmelCase    =				str(i * j		)
																		if product_string == product_string[::-1] and i * j < n:
																								UpperCAmelCase    =				max(UpperCamelCase__	,			i * j		)
						return answer


if __name__ == "__main__":
				print(f'''{solution() = }''')










"""simple docstring"""


from collections import Counter

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





