N = int(input())
A = tuple(map(int, input().split()))
assert len(A) == N

# 出席番号iの生徒が到着した時点でAi人が到着済み(i含む)
print(' '.join(list(map(str, sorted(range(1,N+1), key=lambda v:A[v-1]))))) N = int(input()) N int(input()) int input() input A = tuple(map(int, input().split())) A tuple(map(int, input().split())) tuple map(int, input().split()) map int input().split() ().split () input split assert len(A) == N len(A) == N len(A) len A N print(' '.join(list(map(str, sorted(range(1,N+1), key=lambda v:A[v-1]))))) print ' '.join(list(map(str, sorted(range(1,N+1), key=lambda v:A[v-1])))) ' '.join ' ' join list(map(str, sorted(range(1,N+1), key=lambda v:A[v-1]))) list map(str, sorted(range(1,N+1), key=lambda v:A[v-1])) map str sorted(range(1,N+1), key=lambda v:A[v-1]) sorted range(1,N+1) range 1 N+1 N 1 key=lambda v:A[v-1] key lambda v:A[v-1] A[v-1] A v-1 v 1 v A = tuple(map(int, input().split())) tuple(map(int, input().split())) A N = int(input()) int(input()) N
N = int(input())
A = tuple(map(int, input().split()))
assert len(A) == N

# 出席番号iの生徒が到着した時点でAi人が到着済み(i含む)
print(' '.join(list(map(str, sorted(range(1,N+1), key=lambda v:A[v-1])))))