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