results = [["Kim", 3, 100], ["Lee", 4, 150], ["Park", 3, 90]]
sorted_results = sorted(results, key=lambda x: (-x[1], x[2], x[0]))
answer = []
for i in range(len(sorted_results)):
answer.append(sorted_results[i][0])
print(answer)
To embed this project on your website, copy the following code and paste it into your website's HTML: