n = int(input())
a = list(map(int, input().split()))

order = [0] * (n + 1)
for i in range(n):
    order[a[i]] = i + 1

print(*order[1:]) 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 order = [0] * (n + 1) order [0] * (n + 1) [0] 0 n + 1 n 1 for i in range(n):
    order[a[i]] = i + 1 i range(n) range n order[a[i]] = i + 1 order[a[i]] order a[i] a i i + 1 i 1 print(*order[1:]) print *order[1:] order[1:] order 1: 1 order = [0] * (n + 1) [0] * (n + 1) order 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()))

order = [0] * (n + 1)
for i in range(n):
    order[a[i]] = i + 1

print(*order[1:])
