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