#include using namespace std; using ll = long long; template inline bool chmax(T &a, T b) { if(a < b) { a = b; return true; } return false; } int main() { ios::sync_with_stdio(false); cin.tie(0); int N; cin >> N; vector A(N); for(int i=0; i> A.at(i); int ans = 0; for(int i=0; i