a = list(map(int,input().split()))
b = list(map(int,input().split()))
c = list(range(1,a[0]+1))
dict = dict(zip(b,c))
for i in range(len(b)):
  print(dict.get(i+1),end=" ") a = list(map(int,input().split())) a list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split b = list(map(int,input().split())) b list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split c = list(range(1,a[0]+1)) c list(range(1,a[0]+1)) list range(1,a[0]+1) range 1 a[0]+1 a[0] a 0 1 dict = dict(zip(b,c)) dict dict(zip(b,c)) dict zip(b,c) zip b c for i in range(len(b)):
  print(dict.get(i+1),end=" ") i range(len(b)) range len(b) len b print(dict.get(i+1),end=" ") print dict.get(i+1) dict.get dict get i+1 i 1 end=" " end " " a = list(map(int,input().split())) list(map(int,input().split())) a b = list(map(int,input().split())) list(map(int,input().split())) b c = list(range(1,a[0]+1)) list(range(1,a[0]+1)) c dict = dict(zip(b,c)) dict(zip(b,c)) dict
a = list(map(int,input().split()))
b = list(map(int,input().split()))
c = list(range(1,a[0]+1))
dict = dict(zip(b,c))
for i in range(len(b)):
  print(dict.get(i+1),end=" ")