#include <bits/stdc++.h>
using namespace std;
int n, a[100010], b[100010];
int main() {
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) scanf("%d", &a[i]);
  int ans = 0, s = 1;
  for (int i = 2; i <= n; i++)
    if (a[i] > a[i - 1])
      s++;
    else
      ans = max(ans, s), s = 1;
  ans = max(ans, s);
  cout << ans << endl;
  return 0;
}
