count = Array.new(26,0)
alp = "abcdefghijklmnopqrstuvwxyz"

while tmp = gets
  str = tmp.chomp.downcase
  for str_i in 0..(str.length-1)
    for a_i in 0..25 do #26
      if str[str_i] == alp[a_i]
      count[a_i] = count[a_i] + 1
      end
    end
  end
end

26.times do |t_i|
  puts alp[t_i].to_s + " : " + count[t_i].to_s
end
