fun main(args: Array<String>) {
    val n = readLine()!!.toInt()
    val aList = readLine()!!.split(" ").map(String::toInt)
    println(aList.mapIndexed { index, i -> index+1 to i }.sortedBy { it.second }.map{ it.first}.joinToString(" "))
}