Find the sum of a sequence of natural numbers if the sign of the end of the sequence is two consecutive numbers 0. Numbers after two zeros should not be involved in solving the problem.

0

list

[

1000 ms 256 Mb Rules for program design and list of errors in automatic problem checking