#include <bits/stdc++.h>
using namespace std;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
signed main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  long long n;
  cin >> n;
  long long sum = 0;
  for (long long i = 0; i < n; i++) {
    long long x;
    cin >> x;
    sum += x;
  }
  for (long long i = 0; i < n; i++) {
    sum -= i;
  }
  for (long long i = 0; i < n; i++) {
    long long ans = sum / n + i;
    if (sum % n > i) ans++;
    cout << ans << ' ';
  }
  cout << '\n';
}
