1)
var t,i,n:integer;
begin
readln(n);
for i:=1 to n do
begin
read(t);
if (t=0) then write(i,' ');
end;
end.
2)
var x,t,i,n:integer;
begin
x:=0;
readln(n);
for i:=1 to n do
begin
read(t);
if (t=0) then x:=i;
end;
writeln(x);
end.
3)
var t,x,i,n:integer;
begin
x:=0;
readln(n);
for i:=1 to n do
begin
read(t);
if (t=0) begin break; x:=i; end;
end;
if (x=0) then writeln('net nulei')
else writeln(x);
end.
4)
var f,n,i,s,p,t:integer;
begin
s:=0; p:=1;
f:=0;
readln(n);
for i:=1 to n do
begin
read(t);
if (t<0) begin p:=p*t; f:=1; end;<br>if (t>5) begin s:=s+t; f:=1; end;
end;
if (f<>0) writeln(s,' ',p)
else writeln('!');
end.
5)
var i,j:integer;
begin
for i:=1 to 10 do
begin
for j:=1 to 10 do
write(i*j,' ');
writeln;
end;
end.