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