#include #define rep(i,a,n) for (int i = a;i < n;i++) using namespace std; int main() { int n,ans=1; cin >> n; vector a(n); rep(i, 0, n) { cin >> a[i]; } rep(i,0,n){ if(a[0] < a[i]) ans++; cout << ans << endl; } }