#include #include #include using namespace std; typedef long long int ll; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int n; cin >> n; int fi; cin >> fi; int now=1; cout << now << endl; for(int i=1;i> x; if(x>fi)now++; cout << now << endl; } }