def solution(n):
    answer = list()
    for i in list(str(n)):
        answer.append(i)
    a = sorted(answer)[::-1]
    stra = "".join(a)
    return int(stra)

+ Recent posts