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