#include <bits/stdc++.h> 
using namespace std;

int main(){
    int N,count;
    cin >> N ;
    int hotel[N]={};
    count = 1;
    for(int i = 0;i<N;i++){

        cin >> hotel[i];
        
    }
   
        for(int k = 1;k<N;k++){
            if(hotel[k]>=hotel[0]){
                count++ ;
        	
    	}
    }
    cout << count <<endl;
}



