#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:512000000")
using namespace std;
const int MOD = (int)1e9 + 7;
const double EPS = 1e-9;
const int INF = INT_MAX;
const long long INFLL = (long long)1e18;
const double PI = acos(-1.0);
template <class telem>
telem gcd(telem a, telem b) {
  return b ? gcd(b, a % b) : a;
}
template <class telem>
telem lcm(telem a, telem b) {
  return a / gcd(a, b) * b;
}
template <class telem>
telem sqr(telem a) {
  return a * a;
}
const int N = (int)1e5 + 5;
int n;
int a[N];
int dp[N];
int main() {
  ios::sync_with_stdio(false);
  cout.setf(ios::fixed | ios::showpoint);
  cout.precision(8);
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
  }
  int mx = 1;
  int cur = 1;
  for (int i = 2; i <= n; i++) {
    if (a[i] > a[i - 1])
      cur++;
    else {
      mx = max(cur, mx);
      cur = 1;
    }
  }
  cout << max(mx, cur);
  return 0;
}
