N = int(input())
A = list(map(int,input().split()))
B = [0]*N

for n in range(N):
  B[A[n]-1] = n+1
  
print(*B) 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 B = [0]*N B [0]*N [0] 0 N for n in range(N):
  B[A[n]-1] = n+1
   n range(N) range N B[A[n]-1] = n+1 B[A[n]-1] B A[n]-1 A[n] A n 1 n+1 n 1 print(*B) print *B B A = list(map(int,input().split())) list(map(int,input().split())) A B = [0]*N [0]*N B N = int(input()) int(input()) N
N = int(input())
A = list(map(int,input().split()))
B = [0]*N

for n in range(N):
  B[A[n]-1] = n+1
  
print(*B)