시간 제한메모리 제한제출정답맞힌 사람정답 비율
2 초 512 MB31528124990.545%

문제

At an annual Christmas party, the guests are expected to bring a gift and to put the gift under the Christmas tree. Each of the n guests is tagged with an integer (from 1 to n) and their gifts are identified with the same number.

At the end of the party, each of the guests take turns to draw a lot out of a bowl containing the numbers from 1 to n. Each guest then takes the gift corresponding to the number drawn from under the Christmas tree. You can assume that each guest brings and receives exactly one gift.

Since each guest is keen to know who received his/her gift, your job is to compile that list.

입력

Your program must read from the standard input the following data. The first line specifies the number of guests n < 20,000. The integer corresponding to the gift picked by guest k, where 15k <n, is subsequently specified in the (k + 1)th line.

출력

Your program must write a mapping from the guests to the recipients of their gifts to the standard output. The first line contains an integer indicating the recipient of the gift brought by guest 1. Similarly, the second line contains an integer indicating the recipient of the gift brought by guest 2, etc. The output should contain exactly n lines with one integer in each line, and each line is terminated by a newline character.

예제 입력 1

2
2
1

예제 출력 1

2
1

예제 입력 2

4
2
3
4
1

예제 출력 2

4
1
2
3