N = int(input())
L = list(map(int,input().split()))
d = {}
for i in range(N):
  d[L[i]] = i + 1
for j in range(1 , N + 1):
  print(d[j] , end = ' ')
  
   N = int(input()) N int(input()) int input() input L = list(map(int,input().split())) L list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split d = {} d {} for i in range(N):
  d[L[i]] = i + 1 i range(N) range N d[L[i]] = i + 1 d[L[i]] d L[i] L i i + 1 i 1 for j in range(1 , N + 1):
  print(d[j] , end = ' ')
  
   j range(1 , N + 1) range 1 N + 1 N 1 print(d[j] , end = ' ') print d[j] d j end = ' ' end ' ' N = int(input()) int(input()) N d = {} {} d L = list(map(int,input().split())) list(map(int,input().split())) L
N = int(input())
L = list(map(int,input().split()))
d = {}
for i in range(N):
  d[L[i]] = i + 1
for j in range(1 , N + 1):
  print(d[j] , end = ' ')
  
  
