Cards game 2
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Huseyn arranged cards in a row with numbers . Then he collected them and rearranged them in a different order: . This is the sequence he gave to Yaroslav. Your task is to help Yaroslav restore Hussein's original sequence.
For example, if Yaroslav received the sequence , then he should return the sequence to Huseyn.
Input
The first line contains one integer , representing the number of cards. The second line contains positive integers written on the cards. All numbers are no greater than .
Output
Print Huseyn's original sequence.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 415
Acceptance rate 61%