Question
Classroom Entry Order

In a lively school, there were N students who entered the classroom one by one at different times. After each student entered, they shared how many students were already present before them. The i-th student mentioned that there were Aᵢ students in the class before they arrived. Now, the teacher, curious about the exact order in which the students entered, asked for help to figure out the correct sequence. Can you determine the order in which the students entered the classroom?

Input
The first line of the input contains a single integer N.
The second line of the input contains N space-separated integers.

Constraints
1 ≤ N ≤ 105
1 ≤ Ai ≤ N
All Ai are distinct.
Output
Print the student numbers of the students in the order the students entered the classroom.
Example
Sample Input
3
2 3 1
Sample Output
3 1 2

Online