program sumofunknown;
var
x:integer;
sum:integer;
Begin
Repeat
Write('Enter a number <0 to quit>:');
Readln(x);
sum:=sum+x;
UNTIL x=0;
Writeln('The sum of all numbers:',sum);
readln;
End.
cHJvZ3JhbSBzdW1vZnVua25vd247CnZhcgp4OmludGVnZXI7CnN1bTppbnRlZ2VyOwpCZWdpbgpSZXBlYXQKV3JpdGUoJ0VudGVyIGEgbnVtYmVyIDwwIHRvIHF1aXQ+OicpOwpSZWFkbG4oeCk7CnN1bTo9c3VtK3g7ClVOVElMIHg9MDsKV3JpdGVsbignVGhlIHN1bSBvZiBhbGwgbnVtYmVyczonLHN1bSk7CnJlYWRsbjsKRW5kLgo=