#include<bits/stdc++.h> using namespace std; int main(){ int n,k1,k2,tmp=1,ans=-1; cin>>n>>k1; for(int i=0;i<n-1;i++){ cin>>k2; if(k2>k1){ tmp++; }else{ if(ans<tmp){ ans=tmp; tmp=1; } } swap(k1,k2); } cout<<ans; }