n = int(input())
al = list(map(int, input().split()))
ail = []
for i,a in enumerate(al):
    ail.append((a,i+1))

ail.sort()
ans = []
for i,a in ail:
    ans.append(a)

print(*ans) n = int(input()) n int(input()) int input() input al = list(map(int, input().split())) al list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split ail = [] ail [] for i,a in enumerate(al):
    ail.append((a,i+1)) i a enumerate(al) enumerate al ail.append((a,i+1)) ail.append ail append (a,i+1) a i+1 i 1 ail.sort() ail.sort ail sort ans = [] ans [] for i,a in ail:
    ans.append(a) i a ail ans.append(a) ans.append ans append a print(*ans) print *ans ans n = int(input()) int(input()) n ail = [] [] ail ans = [] [] ans al = list(map(int, input().split())) list(map(int, input().split())) al
n = int(input())
al = list(map(int, input().split()))
ail = []
for i,a in enumerate(al):
    ail.append((a,i+1))

ail.sort()
ans = []
for i,a in ail:
    ans.append(a)

print(*ans)