#include <bits/stdc++.h>
using namespace std;
const int N = 200000;
int main() {
  ios_base::sync_with_stdio(0);
  cout.tie(0);
  cin.tie(0);
  int n, dp[N], ans = 1, a[N], i, j;
  cin >> n;
  for (i = 0; i < n; ++i) {
    cin >> a[i];
    dp[i] = 1;
  }
  for (i = 1; i < n; ++i) {
    if (a[i] > a[i - 1]) dp[i] = max(dp[i], dp[i - 1] + 1);
    ans = max(ans, dp[i]);
  }
  cout << ans;
  return 0;
}
