sum1 = 0;
for n = 1:2
   for m = 1:3
      sum1 = sum1+n*m;
   end
end
sum1