Given a sequence of nonnegative integers ending with number . After reading zero, the program must terminate its work and output the count of numbers read, not including the final zero. It is not necessary to read the numbers following .
Sequence of non-negative integers, each written in a separate line.
Print the amount of numbers in the sequence before the first zero.
Example 1