fun main(args: Array<String>) {
    val n = readLine()!!.toInt()
    val a =  readLine()!!.split(" ").map(String::toInt)

    op142c(a)
}

fun op142c(a: List<Int>) {
    val map = mutableMapOf<Int,Int>()
    IntRange(1,a.size).forEach { map[it] = a[it-1] }
    val orderedMap = map.toList().sortedBy { it.second }.toMap()
    orderedMap.forEach{
        print(it.key)
        print(" ")
    }
}
