n = int(input())
A = list(map(int, input().split()))

N = list(range(1, n + 1))
c = sorted(zip(A, N))
A, N = zip(*c)

print(*N) 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 N = list(range(1, n + 1)) N list(range(1, n + 1)) list range(1, n + 1) range 1 n + 1 n 1 c = sorted(zip(A, N)) c sorted(zip(A, N)) sorted zip(A, N) zip A N A, N = zip(*c) A zip(*c) zip *c c N print(*N) print *N N n = int(input()) int(input()) n c = sorted(zip(A, N)) sorted(zip(A, N)) c A, N = zip(*c) zip(*c) A N = list(range(1, n + 1)) list(range(1, n + 1)) N A = list(map(int, input().split())) list(map(int, input().split())) A N = zip(*c) zip(*c) N
n = int(input())
A = list(map(int, input().split()))

N = list(range(1, n + 1))
c = sorted(zip(A, N))
A, N = zip(*c)

print(*N)
