#include <bits/stdc++.h>
using namespace std;
int n, a[2], ans, ct;
int main() {
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> a[i % 2];
    if (a[i % 2] > a[(i + 1) % 2]) {
      ct++;
      ans = max(ans, ct);
    } else {
      ans = max(ans, ct);
      ct = 1;
    }
  }
  cout << ans << endl;
  return 0;
}
