gets$_;(?A..?z).map{|i|(n=$_.count c=i.chr)>0&&puts(c+":%3d"%n)}