Christmas Gift Draw

No attempts yetTime limit2sMemory limit512 MB

Problem

At the annual Christmas party every guest brings one gift and puts it under the tree. The nn guests are numbered from 11 to nn, and the gift a guest brought carries that guest's number.

When the party ends, the guests take turns drawing one lot from a bowl that holds the numbers 11 through nn. A guest then takes the gift whose number matches the lot drawn. Every guest brings exactly one gift and receives exactly one gift.

Each guest wants to know who ended up with the gift they brought. Build that list.

Input

The first line has the number of guests nn (n<20000n < 20000).

The kk-th of the next nn lines, that is line k+1k+1 of the input, has the number of the gift drawn by guest kk (1kn1 \le k \le n).

Output

Print nn lines telling who received each guest's gift. The first line is the number of the guest who received the gift brought by guest 11, the second line is the number of the guest who received the gift brought by guest 22, and the remaining lines follow the same rule. Each line holds a single integer and ends with a newline.