n=int(input())
s=list(map(int,input().split()))
p=[0]*n
for i in range(n):
  p[s[i]-1]=i+1
print(*p) n=int(input()) n int(input()) int input() input s=list(map(int,input().split())) s list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split p=[0]*n p [0]*n [0] 0 n for i in range(n):
  p[s[i]-1]=i+1 i range(n) range n p[s[i]-1]=i+1 p[s[i]-1] p s[i]-1 s[i] s i 1 i+1 i 1 print(*p) print *p p n=int(input()) int(input()) n s=list(map(int,input().split())) list(map(int,input().split())) s p=[0]*n [0]*n p
n=int(input())
s=list(map(int,input().split()))
p=[0]*n
for i in range(n):
  p[s[i]-1]=i+1
print(*p)