#include <bits/stdc++.h>
using namespace std;
long long my_gcd(long long n, long long m) {
  if (n < m) swap(n, m);
  if (m == 0) return n;
  return my_gcd(m, n % m);
}
signed main() {
  long long n;
  cin >> n;
  vector<long long> a(n);
  long long maxa = 0;
  for (long long i = 0; i < n; i++) {
    cin >> a[i];
    maxa = max(maxa, a[i]);
  }
  return 0;
}
