N = int(input())
A = tuple(map(int, input().split()))
L = [0] * N
for i in range(N):
  L[A[i]-1] = i + 1
print(*L) N = int(input()) N int(input()) int input() input A = tuple(map(int, input().split())) A tuple(map(int, input().split())) tuple map(int, input().split()) map int input().split() ().split () input split L = [0] * N L [0] * N [0] 0 N for i in range(N):
  L[A[i]-1] = i + 1 i range(N) range N L[A[i]-1] = i + 1 L[A[i]-1] L A[i]-1 A[i] A i 1 i + 1 i 1 print(*L) print *L L A = tuple(map(int, input().split())) tuple(map(int, input().split())) A L = [0] * N [0] * N L N = int(input()) int(input()) N
N = int(input())
A = tuple(map(int, input().split()))
L = [0] * N
for i in range(N):
  L[A[i]-1] = i + 1
print(*L)