#include <bits/stdc++.h>
using namespace std;
int main() {
  long int n, i, p = 0, c = 1, mx = 0;
  cin >> n;
  if (n == 1) {
    cout << "1" << endl;
    return 0;
  }
  int a[n + 5];
  for (i = 0; i < n; i++) {
    cin >> a[i];
  }
  for (i = 0; i < n - 1; i++) {
    if (a[i + 1] > a[i]) {
      c++;
    } else {
      c = 1;
    }
    if (c > mx) mx = c;
  }
  cout << mx;
}
