diff --git a/lostlineup.py b/lostlineup.py new file mode 100644 index 0000000..210356c --- /dev/null +++ b/lostlineup.py @@ -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)))