#include <bits/stdc++.h>
using namespace std;
int main() {
  map<int, bool> mp;
  vector<pair<int, int> > v;
  int n, x;
  cin >> n;
  v.resize(n);
  for (int i = 0; i < n; i++) scanf("%d", &v[i].first), v[i].second = i;
  sort(v.begin(), v.end());
  for (int i = 0; i < n; i++) {
    if (!mp[v[i].first]) {
      mp[v[i].first] = true;
      x = v[i].first + 1;
    } else {
      v[i].first = x;
      x++;
      mp[v[i].first] = true;
    }
  }
  for (int i = 0; i < n; i++) swap(v[i].first, v[i].second);
  sort(v.begin(), v.end());
  for (int i = 0; i < n; i++) printf("%d ", v[i].second);
}
