N = int(eval(input()))

A = list(map(int, input().split()))



# AA = [ix, num for ix, num in enumerate(A)]



AA = []

for ix, num in enumerate(A):

    AA.append((ix, num))



AA = sorted(AA, key=lambda x:x[1])



sbuf = ""

for student in AA:

    sbuf+= str(student[0]+1) + " "



print(sbuf)



N = int(eval(input()))

A = list(map(int, input().split()))



ans = [0] * N

for i in range(N):

    ans[A[i]-1] = i + 1



print((" ".join([str(x) for x in ans])))

N = int(eval(input()))
A = list(map(int, input().split()))
# AA = [ix, num for ix, num in enumerate(A)]
AA = []
for ix, num in enumerate(A):
    AA.append((ix, num))
AA = sorted(AA, key=lambda x: x[1])
sbuf = ""
for student in AA:
    sbuf += str(student[0] + 1) + " "
print(sbuf)

N = int(eval(input()))
A = list(map(int, input().split()))
ans = [0] * N
for i in range(N):
    ans[A[i] - 1] = i + 1
print((" ".join([str(x) for x in ans])))

-# AA = [ix, num for ix, num in enumerate(A)] -AA = [] -for ix, num in enumerate(A): -    AA.append((ix, num)) -AA = sorted(AA, key=lambda x: x[1]) -sbuf = "" -for student in AA: -    sbuf += str(student[0] + 1) + " " -print(sbuf) +ans = [0] * N +for i in range(N): +    ans[A[i] - 1] = i + 1 +print((" ".join([str(x) for x in ans])))