def main():
    print(str(sum([i**i for i in range(1, 1001)]))[-10:])


if __name__ == '__main__':
    main()
f8bca82da94f996f97f5e733fc1e33d82e89a450
<mask token>

def main():
    print(str(sum([(i ** i) for i in range(1, 1001)]))[-10:])


<mask token>

def main():
    print(str(sum([(i ** i) for i in range(1, 1001)]))[-10:])


if __name__ == '__main__':
    main()

def main():
    print(str(sum([i**i for i in range(1, 1001)]))[-10:])


if __name__ == '__main__':
    main()