#include <bits/stdc++.h>
using namespace std;
int a[55];
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
  }
  int sum = a[0];
  int isum = 0;
  for (int i = 1; i < n; ++i) {
    isum += a[i];
  }
  isum = (isum / (n - 1));
  sum = (sum + isum) / 2;
  cout << sum << endl;
}
