Run ID:84450

提交时间:2024-07-16 09:24:34

"""Examples input 6 3 6 2 1 5 4 output 6 1 4 2 5 3 """ n = int(input()) a = list(map(int,input().split())) b = [] for ele in a: b.append( a[ele-1]) print(*b)