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