uses crt;
var a:array[1..100]of integer;
n,i:integer;
begin
clrscr;
write('Nhap n='); readln(n);
for i:=1 to n do
begin
repeat
write('A[',i,']='); readln(a[i]);
until a[i]>0;
end;
writeln('Cac so chia het cho 5 la: ');
for i:=1 to n do
if a[i] mod 5=0 then write(a[i]:4);
readln;
end.