#include <bits/stdc++.h>
using namespace std;
const long long INF = 3 * 1e18;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  long long N;
  cin >> N;
  vector<long long> A(N);
  for (int i = 0; i < N; ++i) cin >> A[i];
  int ans = 1, len = 1;
  for (int i = 1; i < N; ++i) {
    if (A[i] > A[i - 1]) {
      ++len;
      ans = max(ans, len);
    } else {
      len = 1;
    }
  }
  cout << ans << "\n";
}
