if __name__ == '__main__':
    x = sum(i ** i for i in range(1, 1001))
    print(x % int(10 ** 10))

9c2f40ce21aa85de72ad314882a2f9f0d0f249af
<mask token>

if __name__ == '__main__':
    x = sum(i ** i for i in range(1, 1001))
    print(x % int(10 ** 10))
