#include <bits/stdc++.h>
int main() {
  int n;
  scanf("%d", &n);
  int st[n];
  for (int i = 0; i < n; i++) scanf("%d", &st[i]);
  int max = 1, fixed = 1;
  for (int i = 1; i < n; i++) {
    if (max > fixed) fixed = max;
    if (st[i] > st[i - 1])
      max++;
    else
      max = 1;
  }
  if (max > fixed) fixed = max;
  printf("%d\n", fixed);
  return 0;
}
