echo str(sum([pow(i,i) for i in range(1,1001)]))[-10:]
