#include<iostream> using namespace std; int a[10]; int main() { int x, n; cin >> n; while(cin >> x) { a[x]++; } cout << a[0]; }