Program ZADACHA;var a,b,c,d,k:integer;beginc:=0;k:=0;d:=0;repeatbeginreadln(a);b:=a;c:=c+1;if (a<-3)thenbegind:=b+a;k:=k+1;end;end;until c=8;writeln(d);//ETO SUMMAwriteln(k);//Eto KOLICHESTVOreadln;end.
Program ZADACHA;
var a,b,c,d,k:integer;
begin
c:=0;
k:=0;
d:=0;
repeat
begin
readln(a);
b:=a;
c:=c+1;
if (a<-3)
then
begin
d:=b+a;
k:=k+1;
end;
end;
until c=8;
writeln(d);//ETO SUMMA
writeln(k);//Eto KOLICHESTVO
readln;
end.