#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<pair<int, int> > vals(n);
  for (int i = 0; i < n; i++) {
    cin >> vals[i].first;
    vals[i].second = i;
  }
  sort(vals.begin(), vals.end());
  vector<int> ans(n);
  int t = -1;
  for (int i = 0; i < n; i++)
    if (t < vals[i].first) {
      t = vals[i].first;
      ans[vals[i].second] = t;
    } else {
      t++;
      ans[vals[i].second] = t;
    }
  for (int i = 0; i < n; i++) cout << ans[i] << " ";
  cout << endl;
  return 0;
}
