local x = io.read("*l"):match("(%d+)")
local arr = {}
local a,b
local result = 0
for i = 1,tonumber(x) do
  arr[i] = 1
end
b = 0
for _ in io.read("*l"):gmatch("%d+") do
  b = b + 1
  a = tonumber(_)
  arr[a] = b
end
local xx = tonumber(x)
for i = 1,xx do
  io.write(arr[i])
  if i == xx then
    break
  end
  io.write(" ")
end