#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int k = 0;
  int cnt = 0;
  int ans = 0;
  for (int i = 0; i < n; i++) {
    int p;
    cin >> p;
    if (p > k)
      cnt++;
    else
      cnt = 1;
    k = p;
    ans = max(cnt, ans);
  }
  cout << ans;
}
