n=int(input())
a=list(map(int,input().split()))
b=[0]*n
for i in range(n):
  x=a[i]
  b[x-1]=i+1

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

print(*b)