n = int(input())
m = [(x, 0) for x in range(1, n+1)]

for i, x in enumerate(map(int, input().split())):
  m[i] = (m[i][0], x)
m.sort(key=lambda x : x[1])
print(' '.join([str(x[0]) for x in m])) n = int(input()) n int(input()) int input() input (x, 0) for x in range(1, n+1) for x in range(1, n+1) x range(1, n+1) range 1 n+1 n 1 for x in range(1, n+1) (x, 0) x 0 m = [(x, 0) for x in range(1, n+1)] m [(x, 0) for x in range(1, n+1)] for i, x in enumerate(map(int, input().split())):
  m[i] = (m[i][0], x) i x enumerate(map(int, input().split())) enumerate map(int, input().split()) map int input().split() ().split () input split m[i] = (m[i][0], x) m[i] m i (m[i][0], x) m[i][0] [i] m i 0 x m.sort(key=lambda x : x[1]) m.sort m sort key=lambda x : x[1] key lambda x : x[1] x[1] x 1 x str(x[0]) for x in m for x in m x m for x in m str(x[0]) str x[0] x 0 print(' '.join([str(x[0]) for x in m])) print ' '.join([str(x[0]) for x in m]) ' '.join ' ' join [str(x[0]) for x in m] n = int(input()) int(input()) n m = [(x, 0) for x in range(1, n+1)] [(x, 0) for x in range(1, n+1)] m
n = int(input())
m = [(x, 0) for x in range(1, n+1)]

for i, x in enumerate(map(int, input().split())):
  m[i] = (m[i][0], x)
m.sort(key=lambda x : x[1])
print(' '.join([str(x[0]) for x in m]))