#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n;
  cin >> n;
  vector<long long int> vec(n);
  for (long long int i = 0; i < n; i++) cin >> vec[i];
  long long int maxval = 0;
  if (n == 0) {
    cout << maxval << endl;
    return 0;
  }
  maxval = 1;
  long long int count = 1;
  for (long long int i = 1; i < n; i++) {
    if (vec[i] > vec[i - 1]) {
      count++;
    } else {
      maxval = max(maxval, count);
      count = 1;
    }
  }
  maxval = max(maxval, count);
  cout << maxval << endl;
  return 0;
}
