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