# 话不多说,看代码
import re
def my_func(in_string):
res = []
res2 = []
for i in in_string:
if i.isalpha():
res.append(i)
res2.append("")
else:
res2.append(i)
res.sort(key=lambda x:x.lower())
start = 0
for num, value in enumerate(res2):
if value == "":
res2[num] = res[start]
start += 1
return "".join(res2)
while True:
try:
print(my_func(input()))
except (EOFError, KeyboardInterrupt):
break



京公网安备 11010502036488号