#include<bits/stdc++.h>using namespace std;int main(){ int n,a=0; cin>>n; while(n--) { int b; cin>>b; if(b<=10) a++; } cout<<a<<endl;}