#include <bits/stdc++.h>
using namespace std;
int start_up() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  return 0;
}
int main() {
  int n, count = 0, ans = 0;
  int mx = 0;
  cin >> n;
  int arr[n];
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
  }
  for (int j = 0; j < n - 1; ++j) {
    if (arr[j] < arr[j + 1]) {
      count++;
      ans = max(ans, count);
      mx = count;
    } else {
      count = 0;
    }
  }
  ans++;
  cout << ans;
}
