#include <bits/stdc++.h>
using namespace std;
bool cmp(int a, int b) { return a > b; }
int expo(int a, int b, int m) {
  if (b == 0) return 1;
  if (b == 1) return a;
  int val = (expo(a, b / 2, m) * expo(a, b / 2, m)) % m;
  if (b & 1)
    return (val * a) % m;
  else
    return val;
}
int mmi(int a, int m) { return expo(a, m - 2, m); }
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n;
  cin >> n;
  int a[n];
  int b[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    b[i] = 1;
  }
  for (int i = 1; i < n; i++) {
    if (a[i] > a[i - 1]) b[i] = b[i - 1] + 1;
  }
  cout << *max_element(b, b + n) << endl;
  return 0;
}
