n=int(input())
a=[0]+[int(x) for x in input().split()]
ans=[0]*(n+1)

for i in range(len(a)):
    ans[a[i]]=i

ans.pop(0)

print(*ans) n=int(input()) n int(input()) int input() input int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x a=[0]+[int(x) for x in input().split()] a [0]+[int(x) for x in input().split()] [0] 0 [int(x) for x in input().split()] ans=[0]*(n+1) ans [0]*(n+1) [0] 0 n+1 n 1 for i in range(len(a)):
    ans[a[i]]=i i range(len(a)) range len(a) len a ans[a[i]]=i ans[a[i]] ans a[i] a i i ans.pop(0) ans.pop ans pop 0 print(*ans) print *ans ans n=int(input()) int(input()) n a=[0]+[int(x) for x in input().split()] [0]+[int(x) for x in input().split()] a ans=[0]*(n+1) [0]*(n+1) ans
n=int(input())
a=[0]+[int(x) for x in input().split()]
ans=[0]*(n+1)

for i in range(len(a)):
    ans[a[i]]=i

ans.pop(0)

print(*ans)