eolymp
bolt
Try our new interface for solving problems
Problems

Inverse permutation

Inverse permutation

Given a permutation $p$, find its inverse $p^{-1}$. \InputFile The first line contains the order $n~(0 < n \le 20000)$ of the permutation $p$. The second line contains the permutation $p$. \OutputFile Print the inverse permutation $p^{-1}$. \includegraphics{https://static.eolymp.com/content/nu/nubqi9tri16h5d6b1p2ujvajdk.gif}
Time limit 1 second
Memory limit 128 MiB
Input example #1
3
2 3 1
Output example #1
3 1 2