uses crt;
var
i,s1,s2,nt,pt:integer;
begin clrscr;
nt:=0;pt:=0;
write ('1.sayiyi girin:');readln(s1);
write ('2.sayiyi girin:');readln(s2);
for i:=s1 to s2 do
if i>0 then pt:=pt+i else nt:=nt+i;
writeln ('pozitiflerin toplam : :', pt);
writeln ('negatiflerin toplam : :',nt);
readln;
end.