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

ans=['-']*n
for i in range(n):
    ans[a[i]-1]=str(i+1)

print(' '.join(ans)) n=int(input()) n int(input()) int input() input a=list(map(int,input().split())) a list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split ans=['-']*n ans ['-']*n ['-'] '-' n for i in range(n):
    ans[a[i]-1]=str(i+1) i range(n) range n ans[a[i]-1]=str(i+1) ans[a[i]-1] ans a[i]-1 a[i] a i 1 str(i+1) str i+1 i 1 print(' '.join(ans)) print ' '.join(ans) ' '.join ' ' join ans a=list(map(int,input().split())) list(map(int,input().split())) a n=int(input()) int(input()) n ans=['-']*n ['-']*n ans
n=int(input())
a=list(map(int,input().split()))

ans=['-']*n
for i in range(n):
    ans[a[i]-1]=str(i+1)

print(' '.join(ans))