#include <bits/stdc++.h>
using namespace std;
long int maxLength(vector<long int> &arr, long int n) {
  long int curr_max = 1;
  long int ans = 0;
  for (long int i = 1; i < n; ++i) {
    if (arr[i] - arr[i - 1] > 0) {
      ++curr_max;
    } else {
      ans = max(curr_max, ans);
      curr_max = 1;
    }
  }
  return max(ans, curr_max);
}
int main() {
  long int n = 10;
  cin >> n;
  long int temp;
  vector<long int> nums(n, 0);
  for (int unsigned i = 0; i < n; ++i) {
    cin >> temp;
    nums[i] = temp;
  }
  cout << maxLength(nums, n) << "\n";
  return 0;
}
