program produs;
const nmax=20;
var t:array[1..nmax] of integer;
n, i, p: integer;
begin
write('n='); read(n);
p:=1;
writeln('introdu ',n,' numere intregi:');
for i:=1 to n do
begin
write('t[',i,']='); read(t[i]);
p:=p*t[i];
end;
writeln('produsul lor = ',p);
end.