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