'''
동빈나 문자열 재정렬 문자열끼리 & 합
입력예제 k1ka5cb7 
답 abckk13
'''

s=input()

n=0
arr=[]
for i in s:
    if i.isdigit():
        n+=int(i)
    else:
        arr.append(i)
arr.sort()
print(''.join(arr)+str(n))
cb439857d6697eb76db42531e58e5e26a4aec8e5
<mask token>

<mask token>
for i in s:
    if i.isdigit():
        n += int(i)
    else:
        arr.append(i)
arr.sort()
print(''.join(arr) + str(n))

<mask token>
s = input()
n = 0
arr = []
for i in s:
    if i.isdigit():
        n += int(i)
    else:
        arr.append(i)
arr.sort()
print(''.join(arr) + str(n))

'''
동빈나 문자열 재정렬 문자열끼리 & 합
입력예제 k1ka5cb7 
답 abckk13
'''

s=input()

n=0
arr=[]
for i in s:
    if i.isdigit():
        n+=int(i)
    else:
        arr.append(i)
arr.sort()
print(''.join(arr)+str(n))