program answer;
uses CRT;
Var
a: array [1..30] of integer;
i: integer; n:integer;
begin
clrscr;
for i:=1 to 30 do begin
a[i]:= random(100);
writeln (a[i]);
end;
Writeln ('chetnie chisla s massiva: ');
for i:=1 to 30 do
begin
if ((a[i]) mod 2 = 0) then writeln (a[i])
end;
end.