The program processes a sequence of integers that concludes with the number . Your task is to calculate the sum of all positive numbers in this sequence, excluding the final zero.
A sequence of integers, with each number provided on a separate line.
A single integer representing the sum of the positive numbers in the sequence.
Example 1