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