import numpy as np



n = int(input())

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

a = np.array(a)

b = np.argsort(a)

for x in b:

    print(x+1, end=" ")



print()

import numpy as np



n = int(eval(input()))

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

b = np.argsort(a)

print((*(b+1)))

import numpy as np

n = int(input())
a = list(map(int, input().split()))
a = np.array(a)
b = np.argsort(a)
for x in b:
    print(x + 1, end=" ")
print()

import numpy as np

n = int(eval(input()))
a = list(map(int, input().split()))
b = np.argsort(a)
print((*(b + 1)))

-n = int(input()) +n = int(eval(input())) -a = np.array(a) -for x in b: -    print(x + 1, end=" ") -print() +print((*(b + 1)))