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