let () =
  Scanf.scanf "%d\n" @@ fun n ->
  let a = Array.init n @@ fun i -> Scanf.scanf "%d " @@ fun d -> (i+1,d) in
  let _ = Array.fast_sort (fun (_,x) (_,y) -> compare x y) a in
  for i = 0 to n - 2 do
    print_int (fst a.(i)); print_string " ";
  done;
  print_int (fst a.(n-1)); print_newline ();