#include <bits/stdc++.h>
using namespace std;
int main() {
  long double n;
  cin >> n;
  vector<long double> v, v2;
  for (long double i = 0; i < n; i++) {
    long double x;
    cin >> x;
    v.push_back(x);
  }
  long double count = 1;
  for (long double i = 0; i < n; i++) {
    if (i == n - 1) {
      v2.push_back(count);
    } else {
      if (v[i] < v[i + 1]) {
        count++;
      } else {
        v2.push_back(count);
        count = 1;
      }
    }
  }
  sort(v2.rbegin(), v2.rend());
  cout << v2[0] << endl;
}
