import java.util.*

fun main(args: Array<String>) {
    val scanner = Scanner(System.`in`)
    val N = scanner.nextInt()

    val numStudents = mutableListOf<St>()
    for (i in (1..N)) {
        numStudents.add(St(i, scanner.nextInt()))
    }

    val result = numStudents.sortedBy { it.numStudents }
        .map { it.shussekiBangou }
        .joinToString(" ")

    println(result)
}

private data class St(val shussekiBangou: Int, val numStudents: Int)