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