Consider a function where is any set.
If is a bijection, then is a permutation function of . There is nothing special about the set . It can be replaced by the set where .
Consider a permutation given by . This means that , and .
In this task, you're given a permutation .
Output for all .
Constraints
Input Format
There are lines in the input.
The first line contains a single positive integer .
The second line contains space separated integers, the values of , respectively.
Output Format
On separate lines, output the values of , respectively.