#include <bits/stdc++.h>
using namespace std;
int n, arr[100000];
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) cin >> arr[i];
  int j = 0, mx = 0, res = 0;
  for (int i = 0; i < n; i++) {
    if (arr[i] < arr[i + 1]) {
      mx++;
    } else {
      res = max(res, mx);
      mx = 0;
    }
  }
  cout << res + 1 << endl;
  return 0;
}
