#include <bits/stdc++.h>
using namespace std;
long long arr[100005];
int main() {
  long long i, N, MAX = 1, ans = 0;
  cin >> N;
  for (i = 0; i < N; i++) cin >> arr[i];
  if (N == 1) {
    cout << 1 << endl;
    return 0;
  }
  for (i = 1; i < N; i++) {
    if (arr[i] > arr[i - 1])
      MAX++;
    else
      MAX = 1;
    ans = max(ans, MAX);
  }
  cout << ans << endl;
}
