def main():

  import sys

  n=int(eval(input()))

  l=[0]*n

  i=1

  for o in map(int,sys.stdin.readline().split()):

    l[o-1]=str(i)

    i+=1

  print((" ".join(l)))

if __name__=="__main__":

  main()
def main():

  import sys

  n=int(eval(input()))

  a=tuple(map(int,sys.stdin.readline().split()))

  b=[0]*n

  i=1

  for index in a:

    b[index-1]=str(i)

    i+=1

  print((" ".join(b)))

if __name__=="__main__":

  main()
def main():
    import sys

    n = int(eval(input()))
    l = [0] * n
    i = 1
    for o in map(int, sys.stdin.readline().split()):
        l[o - 1] = str(i)
        i += 1
    print((" ".join(l)))


if __name__ == "__main__":
    main()

def main():
    import sys

    n = int(eval(input()))
    a = tuple(map(int, sys.stdin.readline().split()))
    b = [0] * n
    i = 1
    for index in a:
        b[index - 1] = str(i)
        i += 1
    print((" ".join(b)))


if __name__ == "__main__":
    main()

-    l = [0] * n +    a = tuple(map(int, sys.stdin.readline().split())) +    b = [0] * n -    for o in map(int, sys.stdin.readline().split()): -        l[o - 1] = str(i) +    for index in a: +        b[index - 1] = str(i) -    print((" ".join(l))) +    print((" ".join(b)))