\begin{problem}{Competition Results}{\textsl{standard input}}{\textsl{standard output}}{1 second}{1024 mebibytes}

There are $n$ runners participating in a race.
Each runner is assigned a unique number from $1$ to $n$.
They have arrived at the finish line in some specific order, with no ties.
Let us say that runner $i$ has performed an \textit{upset} of runner $j$ if $i$ finished before $j$ and $i < j$.

For each $i$ from $1$ to $n$, it is known that runner $i$ has performed exactly $a_i$ upsets of other runners.
Your task is to restore the competition results: the number of the runner that took first place, the number of the runner that took second place, \ldots, the number of the runner that took the $n$-th place.
It can be shown that the answer is always unique, assuming that it exists.


\InputFile
The first line of the input contains an integer $n$ from $1$ to $1000$: the number of runners.

The second line contains $n$ space-delimited integers $a_1, a_2, \ldots, a_n$, where $a_i$ is the number of upsets performed by runner $i$.

The given data is consistent with some possible results of the competition: for every $i$, it is true that $a_i \le n - i$.
In particular, $a_n = 0$.

\OutputFile
Print $n$ space-separated integers: the numbers of runners who took first, second, \ldots, $n$-th place.


\Examples

\begin{example}
\exmpfile{example.01}{example.01.a}%
\exmpfile{example.02}{example.02.a}%
\exmpfile{example.03}{example.03.a}%
\end{example}

\Note
Let us check that the answer to the first example is consistent with the given numbers $a_i$.

\begin{enumerate}
\item Runner $1$ has upset runners $2$, $4$, and $5$.
\item Runner $2$ took the last place and, therefore, has not outperformed anyone.
Hence, runner $2$ has performed no upsets.
\item The runner with the number $3$ took the first place and, therefore, has upset both runners with larger numbers.
\item The runner with the number $4$ has upset a single other runner: runner $5$.
\item There are no runners with numbers larger than $5$.
Therefore, runner $5$ has performed no upsets.
\end{enumerate}


\end{problem}

