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.