"""simple docstring"""







def      __lowerCAmelCase(		):






	"""simple docstring"""





	_lowercase :    Optional[int]							=							0
	for i in range(1     ,1_001			):
		total += i**i
	return str(__UpperCAmelCase			)[-10:]


if __name__ == "__main__":
						print(solution())




"""simple docstring"""







from typing import Any


def      __lowerCAmelCase(		__UpperCAmelCase			):






	"""simple docstring"""





	if not input_list:
		return []
	_lowercase :    List[str]							=							[input_list.count(__UpperCAmelCase			) for value in input_list]
	_lowercase :    Optional[int]							=							max(__UpperCAmelCase			)  # Gets the maximum count in the input list.
	# Gets values of modes
	return sorted({input_list[i] for i, value in enumerate(__UpperCAmelCase			) if value == y}			)


if __name__ == "__main__":
						import doctest

						doctest.testmod()



