编辑代码

n=int(input(""))
x=n
y=0
m=0
while m<n:
    y=y+x**2
    m=n+1
print(y)