main=interact(\s->unlines[l:": "++[' '|n<10]++show n|l<-['A'..'z'],n<-[sum[1|c<-s,c==l]],n>0])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page