import java.util.*
fun main(args: Array<String>) {
    val scanner = Scanner(System.`in`)
    val n = scanner.nextInt()
    val map = mutableMapOf<Int, Int>()
    for (i in 1..n) {
        map[i] = scanner.nextInt()
    }
    val result = map.toList().sortedBy { it.second }.toMap()
    result.forEach {println(it.key) }
}
