import Char import List main=interact(\x->do y<-group$sort$words[toLower a|a<-x,isAlpha a||a==' '];shows(length y)$' ':y!!0++"\n")