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