#!/usr/bin/python

n = 100

rangeSum = n*(n+1)/2
squareSum = 0

for i in range (1, n+1):
	squareSum += i * i

print rangeSum ** 2 - squareSum

901281d909882673bd03e3da4373ad1ded08b6bd
#!/usr/bin/python

n = 100

rangeSum = n*(n+1)/2
squareSum = 0

for i in range (1, n+1):
	squareSum += i * i

print rangeSum ** 2 - squareSum
