# Process input
s = input()

# Collect alphas
alphas = [(i, x.lower()) for i, x in enumerate(s) if x.isalpha()]
alphas.sort(key=lambda t: t[1])
alphas = [s[i] for i, _ in alphas]

# Output
j = 0
for ch in s:
    if ch.isalpha():
        print(alphas[j], end='')
        j += 1
    else:
        print(ch, end='')