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

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

ans = [-1] * N
for i,a in enumerate(A):
    ans[a-1] = i+1
print(*ans)
