uses crt;
var a:array[1..100]of integer;
n,i,dem:integer;
begin
clrscr;
write('Nhap n='); readln(n);
for i:=1 to n do
begin
write('A[',i,']='); readln(a[i]);
end;
dem:=0;
for i:=1 to n do
if a[i]>0 then inc(dem);
writeln('So phan tu duong trong mang la: ',dem);
write('Mang ban vua nhap la: ');
for i:=1 to n do
write(a[i]:4);
readln;
end.