let scan_int () = Scanf.scanf " %d" (fun x -> x)
let print_array a = 
  let _ = Array.iter (Printf.printf "%d ") a in print_newline()

let rec solve i n arr =
  if i = n then arr
  else
    let input = scan_int() in
    let _ = arr.(input-1) <- i+1 in
    solve (i+1) n arr

let () =
  let n = scan_int() in
  let arr = Array.make n 0 in
  print_array (solve 0 n arr)