Lost Lineup
This commit is contained in:
4
lostlineup.py
Normal file
4
lostlineup.py
Normal file
@@ -0,0 +1,4 @@
|
||||
n = int(input())
|
||||
d = list(map(int, input().split()))
|
||||
pos = [1] + [d.index(i) + 2 for i in range(n - 1)]
|
||||
print(" ".join(map(str, pos)))
|
||||
Reference in New Issue
Block a user