#include <bits/stdc++.h>
using namespace std;
const long long N = 2e5;
const long long M = 20;
const long long SQ = 320;
const long long INF = 1e16;
const long long MOD = 1e9 + 7;
int n;
int a[N];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n;
  for (int i = 0; i < n; i++) cin >> a[i];
  int c = 1, ans = 1;
  for (int i = 1; i < n; i++)
    if (a[i] > a[i - 1])
      c++;
    else {
      ans = max(ans, c);
      c = 1;
    }
  ans = max(ans, c);
  cout << ans << endl;
  return 0;
}
