/** libraries */
#include
#include
#include
#include
#include
#include
#include
#include
/** libraries */
using namespace std;
/** defines */
#define ll long long
#define ld long double
#define yes cout << "YES" << "\n"</strong>
#define no cout << "NO" << "\n"</strong>
/** defines */
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
ll n;
cin >> n;
ll ans = 0;
while(n--){
ll x;
cin >> x;
if(x > 0)
ans++;
}
cout << ans;</strong>
}