uses crt;
var a:array[1..100]of integer;
i,n,dem,t: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] mod 2<>0 then dem:=dem+1;
writeln('So phan tu le la: ',dem);
t:=0;
for i:=1 to n do
t:=t+a[i];
writeln('Tong cac phan tu la: ',t);
readln;
end.