import sys
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))  #空白あり

N = I()
A = LI()
for i in range(N):
    A[i] = (A[i],i)
A.sort()

print(*[A[i][1]+1 for i in range(N)]) import sys sys def I(): return int(sys.stdin.readline().rstrip()) I def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))  #空白あり LI N = I() N I() I A = LI() A LI() LI for i in range(N):
    A[i] = (A[i],i) i range(N) range N A[i] = (A[i],i) A[i] A i (A[i],i) A[i] A i i A.sort() A.sort A sort A[i][1]+1 for i in range(N) for i in range(N) i range(N) range N for i in range(N) A[i][1]+1 A[i][1] [i] A i 1 1 print(*[A[i][1]+1 for i in range(N)]) print *[A[i][1]+1 for i in range(N)] [A[i][1]+1 for i in range(N)] def I(): return int(sys.stdin.readline().rstrip()) def I(): return int(sys.stdin.readline().rstrip()) I N = I() I() N def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))  #空白あり def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))  #空白あり LI A = LI() LI() A
import sys
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))  #空白あり

N = I()
A = LI()
for i in range(N):
    A[i] = (A[i],i)
A.sort()

print(*[A[i][1]+1 for i in range(N)])
