#include<iostream> #include<cstring> #include<algorithm> using namespace std; int x,df,s; int main() { cin>>x; for (int i=1;i<=x;i++) { cin>>df; if (df>0) s++; } cout<<s; }