begin
var a := ReadSeqInteger(20).Where(t -> Abs(t) < 10)
.Aggregate(BigInteger(1), (p, q)-> p * q).Println
end.
var a,p,i:integer;
p:=1;
for i := 1 to 20 do
read(a);
if (abs(a) < 10)
then p := p * a;
end;
write(p);
begin
var a := ReadSeqInteger(20).Where(t -> Abs(t) < 10)
.Aggregate(BigInteger(1), (p, q)-> p * q).Println
end.
Пример9 9 9 9 9 9 9 9 9 9 9 9 9 -9 -9 -9 -9 9 9 912157665459056928801var a,p,i:integer;
begin
p:=1;
for i := 1 to 20 do
begin
read(a);
if (abs(a) < 10)
then p := p * a;
end;
write(p);
end.