#include <bits/stdc++.h>
using namespace std;
long long int i, j, k;
int main() {
  long long int n, m = 0, x = 0, y, w, p = 0, sum = 0, s, q = 0, count1 = 1,
                   max1 = 1;
  cin >> n;
  long long int arr[n];
  for (i = 0; i < n; i++) cin >> arr[i];
  for (i = 1; i < n; i++) {
    if (arr[i] > arr[i - 1])
      count1++;
    else
      count1 = 1;
    max1 = max(max1, count1);
  }
  cout << max1;
  return 0;
}
