#include <bits/stdc++.h>
using namespace std;
int n, cur = 1, res[300005];
pair<int, int> arr[300005];
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) cin >> arr[i].first;
  for (int i = 0; i < n; i++) arr[i].second = i;
  sort(arr, arr + n);
  for (int i = 0; i < n; i++) {
    if (cur < arr[i].first) cur = arr[i].first;
    res[arr[i].second] = cur;
    cur++;
  }
  for (int i = 0; i < n; i++) cout << res[i] << " ";
}
