Not accepting input from stub

while solving the problem in python, unable to accept input from the code stub provided. the expected output is showing as: terminate called after throwing an instance of ‘std::length_error’
what(): vector::_M_default_append
Aborted
while my output gives a value error: ValueError: invalid literal for int() with base 10: ‘-1 0 1 2 -1 -4’
As the input is not getting accepted properly, I am unable to run my code.

Update: Resolved,=. It was expecting a different type of input. Please close this ticket. Thanks

For future users, the input mistmatch can be understood from the error - it says invalid integer which means the input gjven was something else. Resolving this.

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.