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