val s=io.Source.stdin.toSeq;for(c<-'A'to'z';n<-Seq(s.count(c==))if n>0)printf(c+":%3d\n",n)