n = int(input())
A = list(map(int, input().split()))

P = [0]*n

for i in range(n):
    P[A[i]-1] = i+1

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

P = [0]*n

for i in range(n):
    P[A[i]-1] = i+1

print(*P,sep=' ')