N=int(input())
List = list(map(int, input().split()))
resList = [0]*N
for i in range(N):
  resList[List[i]-1] = i+1
print(*resList) N=int(input()) N int(input()) int input() input List = list(map(int, input().split())) List list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split resList = [0]*N resList [0]*N [0] 0 N for i in range(N):
  resList[List[i]-1] = i+1 i range(N) range N resList[List[i]-1] = i+1 resList[List[i]-1] resList List[i]-1 List[i] List i 1 i+1 i 1 print(*resList) print *resList resList N=int(input()) int(input()) N List = list(map(int, input().split())) list(map(int, input().split())) List resList = [0]*N [0]*N resList
N=int(input())
List = list(map(int, input().split()))
resList = [0]*N
for i in range(N):
  resList[List[i]-1] = i+1
print(*resList)