sum=0
while(True):
i=[int(x) for x in input().split()]
sum=sum+i
if(sum>=0):
print(i)
else:
break
error–Traceback (most recent call last):
File “source”, line 3, in
i=[int(x) for x in input().split()]
EOFError: EOF when reading a line
how to get rid of it?