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