A teacher has just finished marking exam scripts and is required to total the score for each exam script.
However, he is lazy to count the total amount of questions in the script itself.
He wants you to write a program for him to find out the total score of each exam script by just typing individual scores for each question into the program, space separated.
An "-1" marks the end of the scores of the script.
Do not add the "-1" that signifies the end of the integers
You may assume that all the scores are non-negative integers
You may also assume that there are no more than 100 000 numbers in each testcase
1 0 1 1 0 0 1 2 1 -1