while True:
    try:
        s=input()
        s1=[]
        res=[0]*len(s)
        for i,v in enumerate(s):
            if v.isalpha():
                s1.append(v)
            else:
                res[i]=v
        s1.sort(key=lambda x:x.upper())
        for i,v in enumerate(res):
            if not v:
                res[i]=s1[0]
                s1.pop(0)
        print(''.join(res))
    except:
        break