fun main(args: Array<String>) {
    readLine()
  
  	val As = readLine()!!.split(" ").mapIndexed { i, a -> Pair(i + 1, a.toInt())}
  
  	As.sortedBy { it.second }
  		.map { it.first }
  		.forEach { print("$it ") }
}