sumOfSquare = 0
squareOfSum = 0

for i in range (1,101):
    sumOfSquare += i ** 2
    squareOfSum += i


print(squareOfSum**2 - sumOfSquare)



# Caner Dabakoğlu
# GitHub: https://github.com/cdabakoglu
