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