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

c=list(range(1,a+1))
d=[]
for i in range(a):
    d.append([c[i],b[i]])
d.sort(key=lambda x: x[1])
ans=[]
for i in range(a):
    ans.append(d[i][0])
print(' '.join(map(str,ans))) a=int(input()) a int(input()) int input() input b=list(map(int,input().split())) b list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split c=list(range(1,a+1)) c list(range(1,a+1)) list range(1,a+1) range 1 a+1 a 1 d=[] d [] for i in range(a):
    d.append([c[i],b[i]]) i range(a) range a d.append([c[i],b[i]]) d.append d append [c[i],b[i]] c[i] c i b[i] b i d.sort(key=lambda x: x[1]) d.sort d sort key=lambda x: x[1] key lambda x: x[1] x[1] x 1 x ans=[] ans [] for i in range(a):
    ans.append(d[i][0]) i range(a) range a ans.append(d[i][0]) ans.append ans append d[i][0] [i] d i 0 print(' '.join(map(str,ans))) print ' '.join(map(str,ans)) ' '.join ' ' join map(str,ans) map str ans d=[] [] d c=list(range(1,a+1)) list(range(1,a+1)) c b=list(map(int,input().split())) list(map(int,input().split())) b a=int(input()) int(input()) a ans=[] [] ans
a=int(input())
b=list(map(int,input().split()))

c=list(range(1,a+1))
d=[]
for i in range(a):
    d.append([c[i],b[i]])
d.sort(key=lambda x: x[1])
ans=[]
for i in range(a):
    ans.append(d[i][0])
print(' '.join(map(str,ans)))