#include<iostream> using namespace std; int a[100005]; int main(){ int n; int s=1; int i,j,k; cin>>n; for(i=0;i<n;i++){ cin>>a[i]; } for(i=0;i<n;i++){ if(a[i]>a[0])s++; cout<<s<<endl; } return 0; }