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