#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, x, i, t = 0, m = 0;
  vector<long long int> a;
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> x;
    a.push_back(x);
  }
  for (i = 0; i < n - 1; i++) {
    if (a[i] < a[i + 1]) t++;
    if (t > m)
      m = t;
    else if (a[i] >= a[i + 1])
      t = 0;
  }
  if (m != 0)
    cout << m + 1 << endl;
  else
    cout << m + 1 << endl;
  return 0;
}
