Simple Input: Given a list of numbers, stop processing input after cummulative sum of all the input becomes negative

Why is 49 shown in input format? It should not get accepted according to problem statement.

Hii Rritvik,
See sample output after -100 the sum get negetive and after it you don’t print any no.

Exactly my point ,then why even is it mentioned in input.

Hey Ritvik, that’s because input can be anything but you are supposed to print the numbers only till the cumulative sum is positive.