while True:
    a=input()
    b=sorted(a)
    c=' '.join(b)
    print(c)