var a:array[1..99] of integer;
i,n,z,s,r,c:integer;
begin
read(n);
writeln;
for i:=1 to n do begin
read(a[i]);
if (a[i]=0) then inc(z);
c:=0;
r:=a[i];
repeat
r:=r div 10;
inc(c);
until r=0;
if c=3 then s+=a[i];
end;
writeln;
writeln('Valori egal cu 0: ',z,' Suma numerelor de 3 cifre: ',s);
end.
var a:array[1..99] of integer;
n,i,prod:integer;
begin
read(n);
writeln;
prod:=1;
for i:=1 to n do begin
read(a[i]);
if a[i]>100 then prod*=a[i];
end;
writeln('Produs: ',prod);
end.