def power(x,n):
s=1
while n > 0:
n = n-1
s = s * x
return s
m=0
for i in range(1,101) :
n=power(i,2)
m=m+n
print(m)
def power(x,n):
s=1
while n > 0:
n = n-1
s = s * x
return s
m=0
for i in range(1,101) :
n=power(i,2)
m=m+n
print(m)