import Data.List m@main=do g<-getLine;putStrLn$unwords[show$""#1-"-"#2+"2"#1-"-2"#4|c<-"hkl",let x#y=sum[y|isInfixOf(x++[c])g]];m