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

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

B = [0] * N
for i in range(0, N):
    B[A[i]-1] = i+1
[print(x, end=' ') for x in B]