n = 100

a = (n*(n+1)*(2*n+1))/6
b = ((n*(n+1))/2)**2

print(int(abs(a-b)))

df5c82e05bd5833d70458281266b681ded0c66e6
<mask token>

<mask token>
print(int(abs(a - b)))

n = 100
a = n * (n + 1) * (2 * n + 1) / 6
b = (n * (n + 1) / 2) ** 2
print(int(abs(a - b)))

n = 100

a = (n*(n+1)*(2*n+1))/6
b = ((n*(n+1))/2)**2

print(int(abs(a-b)))
