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