var a:array[1..12] of integer;
i,s: integer;
begin
for i:=1 to 12 do
a[i]:=random(100);
s:=s+a[i];
write (a[i],' ')
end;
writeln;
write (s)
end.
var a:array[1..12] of integer;
i,s: integer;
begin
for i:=1 to 12 do
begin
a[i]:=random(100);
s:=s+a[i];
write (a[i],' ')
end;
writeln;
write (s)
end.