You are viewing a single comment's thread. Return to all comments →
n=int(input()) X=[int(x) for x in input().split(" ")] for i in (range(n)): print(X[X[i]-1])
Seems like cookies are disabled on this browser, please enable them to open this website
Security Permutations
You are viewing a single comment's thread. Return to all comments →