n=int(input())
a=[0]+list(map(int,input().split()))

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

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

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

ans=" ".join(map(str,ans))
print(ans)