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