#include <bits/stdc++.h>
int max(int a, int b) { return a > b ? a : b; }
int main() {
  int n;
  while (~scanf("%d", &n)) {
    int arr[n], ans = -200000, l = 1;
    for (int i = 0; i < n; i++) scanf("%d", &arr[i]);
    for (int i = 1; i < n; i++) {
      if (arr[i] > arr[i - 1])
        l++;
      else {
        ans = max(ans, l);
        l = 1;
      }
    }
    printf("%d\n", max(ans, l));
  }
}
