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