#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  int n;
  cin >> n;
  int k = 0, maxk = 0, xprev = 0;
  for (int i = 0; i < n; ++i) {
    int x;
    cin >> x;
    if (xprev >= x) {
      maxk = max(k, maxk);
      k = 0;
    }
    ++k;
    xprev = x;
  }
  maxk = max(k, maxk);
  cout << maxk;
  return 0;
}
