Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
N = int(input())
A = [(int(x),i+1) for i,x in zip(range(N),input().split())]
A.sort(reverse=True)
[print(x[1]) for x in A]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment