import numpy as np

n = int(eval(input()))

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



print((*list([x + 1 for x in np.argsort(a)])))
n = int(eval(input()))

m = [(x, 0) for x in range(1, n+1)]



for i, x in enumerate(map(int, input().split())):

  m[i] = (m[i][0], x)

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

print((' '.join([str(x[0]) for x in m])))
import numpy as np

n = int(eval(input()))
a = np.array(list(map(int, input().split())))
print((*list([x + 1 for x in np.argsort(a)])))

n = int(eval(input()))
m = [(x, 0) for x in range(1, n + 1)]
for i, x in enumerate(map(int, input().split())):
    m[i] = (m[i][0], x)
m.sort(key=lambda x: x[1])
print((" ".join([str(x[0]) for x in m])))

-import numpy as np - -a = np.array(list(map(int, input().split()))) -print((*list([x + 1 for x in np.argsort(a)]))) +m = [(x, 0) for x in range(1, n + 1)] +for i, x in enumerate(map(int, input().split())): +    m[i] = (m[i][0], x) +m.sort(key=lambda x: x[1]) +print((" ".join([str(x[0]) for x in m])))