@staticmethod
def c():
    (n, *a) = map(int, sys.stdin.read().split())
    for (i, h) in sorted(enumerate(a), key=(lambda x: (- x[1]))):
        print((i + 1))
@staticmethod
def c():
    (n, *a) = map(int, sys.stdin.read().split())
    for (i, h) in sorted(enumerate(a), key=(lambda x: (- x[1]))):
        print((i + 1))