let i_inp_list : unit -> (int * int) list = fun () ->
  let inp_split = Str.split (Str.regexp " ") (input_line stdin) in
  List.mapi (fun i x -> (int_of_string x, i + 1)) (inp_split)
  
let () =
  let _ = Scanf.sscanf (input_line stdin) "%d" (fun a -> a) in
  let l = i_inp_list () in
  let ans = List.sort (fun (a, a') (b, b') -> if a > b then 1 else if a = b then 0 else -1) l in
  let str = List.fold_right (fun (x, i) s -> (string_of_int i) ^ " " ^ s ) ans ""
  in
  print_string str;
  print_newline ()
