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