# An empty list
sorter=[]

# A for loop to add whatever the user enters to the list
for a in (raw_input("Enter some words/letters to sort in alphabetical order: ")):
    sorter.append(a)

print sorted(sorter)