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