문제 링크 https://www.acmicpc.net/problem/1015
순서를 정리해서 변환한 곳은 0으로 변경
실버 4단계 시작...
n = int(input())
result = []
t = [*map(int, input().split())]
s_t = sorted(t)
for i in range(n):
no = s_t.index(t[i])
result.append(no)
s_t[no] = 0
print(*result)