from numpy import *

eval(input())

print((" ".join(map(str,argsort(list(map(int,input().split())))+1))))
N = int(eval(input()))

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

B = N*[0]



for n in range(N):

  B[A[n]-1]=n+1



print((*B))
from numpy import *

eval(input())
print((" ".join(map(str, argsort(list(map(int, input().split()))) + 1))))

N = int(eval(input()))
A = list(map(int, input().split()))
B = N * [0]
for n in range(N):
    B[A[n] - 1] = n + 1
print((*B))

-from numpy import * - -eval(input()) -print((" ".join(map(str, argsort(list(map(int, input().split()))) + 1)))) +N = int(eval(input())) +A = list(map(int, input().split())) +B = N * [0] +for n in range(N): +    B[A[n] - 1] = n + 1 +print((*B))