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