#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, i, j, p = 0, q = 0, ans = 0;
  cin >> N;
  for (i = 0; i < N; i++) {
    cin >> j;
    if (q < j)
      p++;
    else
      p = 1;
    q = j;
    ans = max(ans, p);
  }
  cout << ans << "\n";
}
