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