N = int(input())
S = list(map(int,input().split()))
m = [0 for _ in range(N)]
for i in range(N):
  m[S[i]-1] = i+1
print(*m,sep=" ") 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 0 for _ in range(N) for _ in range(N) _ range(N) range N for _ in range(N) 0 m = [0 for _ in range(N)] m [0 for _ in range(N)] for i in range(N):
  m[S[i]-1] = i+1 i range(N) range N m[S[i]-1] = i+1 m[S[i]-1] m S[i]-1 S[i] S i 1 i+1 i 1 print(*m,sep=" ") print *m m sep=" " sep " " m = [0 for _ in range(N)] [0 for _ in range(N)] m N = int(input()) int(input()) N S = list(map(int,input().split())) list(map(int,input().split())) S
N = int(input())
S = list(map(int,input().split()))
m = [0 for _ in range(N)]
for i in range(N):
  m[S[i]-1] = i+1
print(*m,sep=" ")
