


def   _UpperCAmelCase       (     ):
      """simple docstring"""




      __lowerCamelCase     :      List[str]       						=						0
      for i in range(1						,	1_001      ):
            total += i**i
      return str(UpperCAmelCase      )[-10:]


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







from typing import Any





def   _UpperCAmelCase       (     UpperCAmelCase      :			list      ):
      """simple docstring"""




      if not input_list:
            return []
      __lowerCamelCase     :      int       						=						[input_list.count(UpperCAmelCase      ) for value in input_list]
      __lowerCamelCase     :      Tuple       						=						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()



