N = int(input())
A = list(map(int, input().split()))
a  = []
for i in range(N):
    a.append([A[i], i])
a.sort()
b = []
for i in a:
    b.append(i[-1]+1)
print(*b) 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 a  = [] a [] for i in range(N):
    a.append([A[i], i]) i range(N) range N a.append([A[i], i]) a.append a append [A[i], i] A[i] A i i a.sort() a.sort a sort b = [] b [] for i in a:
    b.append(i[-1]+1) i a b.append(i[-1]+1) b.append b append i[-1]+1 i[-1] i -1 1 print(*b) print *b b a  = [] [] a N = int(input()) int(input()) N A = list(map(int, input().split())) list(map(int, input().split())) A b = [] [] b
N = int(input())
A = list(map(int, input().split()))
a  = []
for i in range(N):
    a.append([A[i], i])
a.sort()
b = []
for i in a:
    b.append(i[-1]+1)
print(*b)