(*
ocamlfind ocamlopt -package batteries -linkpkg main.ml -o a.out
*)
open Batteries

let n = Scanf.sscanf (read_line ()) "%d" (
        fun n -> 
                n
)

let lst = Str.split (Str.regexp " ") (read_line ())
          |> List.map int_of_string

let lst2 = List.map2 (fun i elmnt -> (i, elmnt)) 
                (List.range 1 `To n) lst
           |> List.sort (fun (ai, ae) (bi, be) -> compare ae be)
           |> List.map (fun (i, e) -> string_of_int i)

let () = 
        List.fold_right (fun a b -> a ^ " " ^ b) lst2 ""
        |> Printf.printf "%s\n"

