s=list(input()) tmp=[] noalpha=[] for i in range(len(s)): if not(s[i].isalpha()): noalpha.append((i,s[i])) else: tmp.append(s[i]) res=[] for i in range(65,91): ch1=chr(i) ch2=chr(i+32) for j in tmp: if(j==ch1 or j==ch2): res.append(j) for i in noalpha: res.insert(i[0],i[1]) print(''.join(res))