while True:
    try:
        s = input()
        a = ""
        for i in s:
            if i.isalpha():
                a += i
        a_sorted = sorted(a, key=str.upper)
        res = ""
        index = 0
        for j in s:
            if j.isalpha():
                res += a_sorted[index]
                index += 1
            else:
                res += j
        print(res)
    except:
        break