#include <bits/stdc++.h>
using namespace std;
int a[300000], i, j, n;
int main() {
  cin >> n;
  vector<pair<int, int> > v(n);
  for (i = 0; i < n; ++i) {
    cin >> v[i].first;
    v[i].second = i;
  }
  sort(v.begin(), v.end());
  j = 0;
  for (i = 0; i < n; ++i) {
    j++;
    if (j < v[i].first) j = v[i].first;
    a[v[i].second] = j;
  }
  for (i = 0; i < n; ++i) cout << a[i] << " ";
}
