S=0;
for i=1:10
  S=S+i^2;
end
S
