uses crt;
var A : array [1 .. 100] of integer;
i, n, S, c, l, d, x : longint;
begin
clrscr;
write('Nhap so luong phan tu : '); readln(n);
for i := 1 to n do
begin
write('Nhap so thu ', i ,' = '); readln(A[i]);
S := S + A[i];
if A[i] mod 2 = 0 then c := c + 1 else l := l + 1;
x := A[i] div 10;
if (x >= 1) and (x <= 9) then d := d + 1;
end;
writeln('So luong so chan = ', c);
writeln('So luong so le = ', l);
writeln('Tong cac phan tu = ', s);
write('So luong so co hai chu so = ', d);
readln
end.