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