import heapq as hq



n = int(input())

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

b = [i for i in range(1, n+1)]

p = list(zip(a, b))



q = []

hq.heapify(q)

for i in range(len(p)):

    hq.heappush(q, p[i])



while len(q) != 0:

    print(q[0][1], end=' ')

    hq.heappop(q)

n = int(input())

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



b = [0]*n

for i in range(n):

    b[a[i]-1] = i + 1



for i in range(n):

    print(b[i], end=' ')

import heapq as hq

n = int(input())
a = list(map(int, input().split()))
b = [i for i in range(1, n + 1)]
p = list(zip(a, b))
q = []
hq.heapify(q)
for i in range(len(p)):
    hq.heappush(q, p[i])
while len(q) != 0:
    print(q[0][1], end=" ")
    hq.heappop(q)

n = int(input())
a = list(map(int, input().split()))
b = [0] * n
for i in range(n):
    b[a[i] - 1] = i + 1
for i in range(n):
    print(b[i], end=" ")

-import heapq as hq - -b = [i for i in range(1, n + 1)] -p = list(zip(a, b)) -q = [] -hq.heapify(q) -for i in range(len(p)): -    hq.heappush(q, p[i]) -while len(q) != 0: -    print(q[0][1], end=" ") -    hq.heappop(q) +b = [0] * n +for i in range(n): +    b[a[i] - 1] = i + 1 +for i in range(n): +    print(b[i], end=" ")