2:
uses crt;
var a:array[1..30]of integer;
i,dem:integer;
begin
clrscr;
for i:=1 to 30 do
begin
write('A[',i,']='); readln(a[i]);
end;
dem:=0;
for i:=1 to n do
if a[i] mod 5<>0 then inc(dem);
writeln('So phan tu khong chia het cho 5 la: ',dem);
readln;
end.