#include using namespace std;int main(){int N,x=1;cin>>N;vectorA(N);for(int&a:A)cin>>a;for(int i=0;ij-i+1?x:j-i+1;cout<