#include <bits/stdc++.h>
using namespace std;
const int O = 1e6 + 5;
struct ii {
  int g;
  int c;
};
long long a[O];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  for (int i = 1; i <= n; ++i) cin >> a[i];
  long long cur_ans = 0, cur = 0, compare = -1e18;
  for (int i = 1; i <= n; ++i) {
    if (a[i] > compare) {
      cur++;
      compare = a[i];
    } else {
      cur = 1;
      compare = a[i];
    }
    cur_ans = max(cur_ans, cur);
  }
  cout << cur_ans;
}
