while True:
try:
str_words = input()
a= ''
for word in str_words:
if word.isalpha():
a+=word
b= sorted(a, key=str.upper)
s=''
t=0
for word in str_words:
if word.isalpha():
s+=b[t]
t+=1
else:
s+=word
print(s)
except:
break