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