Solve problem "The number of zeros" online - Learn Python 3 - Snakify

Problem «The number of zeros» (Medium)


Statement

Given N numbers: the first number in the input is N, after that N integers are given. Count the number of zeros among the given integers and print it.

You need to count the number of numbers that are equal to zero, not the number of zero digits.


In all the problems input the data using input() and print the result using print().



Saved solutions

Tests

Input Correct answer Result
5
0
700
0
200
2
2
7
1
2
3
4
5
6
7
0
6
0
0
0
0
0
0
6
1
0
1
1
1
0
3
0
1
2
1
3
1
2
0
1
10
0
4
1
-7
0
4
5
1
0
0
4