SIMPLE INPUT problem (ML)

numbers=[]
sum=0
while sum>=0:
a=int(input())
numbers.append(a)
sum=sum+a
if sum<0:
break
print(numbers)
print(“output”)
add=0
for i in numbers:
add=add+i
if add<0:
break
else:
print(i)

i am getting EOF error in
a=int(input()).
any suggestions .
this code works fine in external ide(atom)

hi @taresh345
plz try to directly submit ur code instead of runing code
or
else try to give custon input in correct format before running the code