n=int(eval(input()))

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



s=[]

i=1

for _a in a:

    s.append([i, _a])

    i+=1

s.sort(key=lambda x: x[1])



ans=""

for i, _ in s:

    ans+=str(i)+" "



print(ans)

n = int(eval(input()))

*a, = list(map(int, input().split()))



t = []

for i, j in zip(list(range(1, n+1)), a):

    t.append((i, j))



ans = []

for i in sorted(t, key=lambda x: x[1]):

    ans.append(i[0])

print((" ".join(map(str, ans))))

n = int(eval(input()))
a = list(map(int, input().split()))
s = []
i = 1
for _a in a:
    s.append([i, _a])
    i += 1
s.sort(key=lambda x: x[1])
ans = ""
for i, _ in s:
    ans += str(i) + " "
print(ans)

n = int(eval(input()))
(*a,) = list(map(int, input().split()))
t = []
for i, j in zip(list(range(1, n + 1)), a):
    t.append((i, j))
ans = []
for i in sorted(t, key=lambda x: x[1]):
    ans.append(i[0])
print((" ".join(map(str, ans))))

-a = list(map(int, input().split())) -s = [] -i = 1 -for _a in a: -    s.append([i, _a]) -    i += 1 -s.sort(key=lambda x: x[1]) -ans = "" -for i, _ in s: -    ans += str(i) + " " -print(ans) +(*a,) = list(map(int, input().split())) +t = [] +for i, j in zip(list(range(1, n + 1)), a): +    t.append((i, j)) +ans = [] +for i in sorted(t, key=lambda x: x[1]): +    ans.append(i[0]) +print((" ".join(map(str, ans))))