#include <bits/stdc++.h>
using namespace std;
int n, a[100001];
int res, f[100001];
int main() {
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
  }
  f[1] = 1;
  res = f[1];
  for (int i = 2; i <= n; i++) {
    f[i] = 1;
    if (a[i] > a[i - 1]) {
      f[i] = max(f[i], f[i - 1] + 1);
    }
    res = max(res, f[i]);
  }
  cout << res;
}
