#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, maxcount = 0, t, count = 0, last = 0;
  cin >> a;
  for (int i = 0; i < a; i++) {
    cin >> t;
    if (last >= t) {
      if (count > maxcount) maxcount = count;
      count = 1;
    } else
      count++;
    last = t;
  }
  if (maxcount > count)
    cout << maxcount << endl;
  else
    cout << count << endl;
}
