#include <bits/stdc++.h>
using ll = long long;
using namespace std;
ll a[1000010];
ll dp[1000010];
ll ans;
int main() {
  ll n;
  cin >> n;
  for (ll i = 0; i < n; i++) {
    cin >> a[i];
    dp[i] = 1;
  }
  for (ll i = 1; i < n; i++) {
    if (a[i] > a[i - 1]) {
      dp[i] = max(dp[i], dp[i - 1] + 1);
    }
  }
  for (ll i = 0; i < n; i++) {
    ans = max(ans, dp[i]);
  }
  cout << ans << '\n';
}
