내장함수로 편하게 #가보자고
num = input() num_sorted = sorted(num) for i in range (len(num_sorted)-1, -1, -1) : print(num_sorted[i], end='') print()
통과!