begin
var a := ArrRandom(10, 20, 30);
a.Println;
var p := 1;
foreach var t in a do
if t = 25 then p *= 25;
if p = 1 then p := 0;
p.Println;
end.
begin
var a := ArrRandom(10, 20, 30);
a.Println;
var p := 1;
foreach var t in a do
if t = 25 then p *= 25;
if p = 1 then p := 0;
p.Println;
end.
24 27 25 24 27 21 27 25 26 2515625