Simple input question

Given a list of numbers, stop processing input after the cumulative sum of all the input becomes negative.

i am not able to form the code for this problem

Hi @yutikakhanna
Here is the code to this problem have a look at it :