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