#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n; cin>>n; vector arr; int ans = 0; for(int i = 0;i>x; int cnt = 0; for(int j = 0;j=0); ans = max(ans, cnt+1); cnt = 0; for(int j = 0;j= 0); ans = max(ans, cnt+1); arr.push_back(x); } cout<