#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long N;
  long long A[214514];
  cin >> N;
  for (long long i = 0; i < (N); ++i) {
    cin >> A[i];
  }
  if (N <= 500) {
    assert(114514);
    N /= 0;
    A[114514810] = 893364364;
  } else {
    cout << 5 * 1e15 << endl;
  }
  return 0;
}
