#include using namespace std; int main(){ int n;cin>>n; int nw = 1; int z; for(int i = 0; n > i; i++){ int t;cin>>t; if(!i){ z = t; }else{ if(z < t)nw++; } cout << nw << endl; } }