str_list = input()
num_list = list()
for i in str_list:
    num_list.append(int(i))
num_list = reversed(sorted(num_list))
res = ''
for i in num_list:
    res += str(i)
print(res)

'# 코딩 문제 관련 > 파이썬' 카테고리의 다른 글

백준 1181번(python)  (0) 2019.05.30
백준 2108번(python)  (0) 2019.05.30
백준 2751번(python)  (0) 2019.05.29
백준 2750번(python)  (0) 2019.05.29
백준 6064번(python)  (0) 2019.05.28