Lost Lineup

This commit is contained in:
2023-07-18 22:54:03 +02:00
parent 947a85d630
commit 220d30556d

4
lostlineup.py Normal file
View 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)))