# frozen_string_literal: true
n = gets.to_i
array = gets.split.map(&:to_i)

hash = array.each_with_index.to_a.map(&:reverse).to_h

puts Hash[ hash.sort_by { |_k, v| v } ].keys.map { |v| v + 1 }.join(" ")
