n=mapM(:"123456789AB")" 0">>=words m@main=do l<-getLine;putStrLn$n!!sum[1|c<-l,[d]<-n,d<c];m
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page