while True:
try:
s = input()
arr = []
for i in s:
arr.append(i)
arr.sort()
st = ''
for i in arr:
st = st +i
print(st)
except:
break

while True:
try:
s = input()
arr = []
for i in s:
arr.append(i)
arr.sort()
st = ''
for i in arr:
st = st +i
print(st)
except:
break