n = int(eval(input()))

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

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

result = sorted(zip(a, indices))

ans = "{}".format(result[0][1])

for i in range(n)[1::]:

    ans += " {}".format(result[i][1])

print(ans)

n = int(eval(input()))

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

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

ans = list([str(x[1]) for x in sorted(zip(a, indices))])

print((" ".join(ans)))

n = int(eval(input()))
a = list(map(int, input().split()))
indices = [i + 1 for i in range(n)]
result = sorted(zip(a, indices))
ans = "{}".format(result[0][1])
for i in range(n)[1::]:
    ans += " {}".format(result[i][1])
print(ans)

n = int(eval(input()))
a = list(map(int, input().split()))
indices = [i + 1 for i in range(n)]
ans = list([str(x[1]) for x in sorted(zip(a, indices))])
print((" ".join(ans)))

-result = sorted(zip(a, indices)) -ans = "{}".format(result[0][1]) -for i in range(n)[1::]: -    ans += " {}".format(result[i][1]) -print(ans) +ans = list([str(x[1]) for x in sorted(zip(a, indices))]) +print((" ".join(ans)))