arr = []

while (s = gets)
  arr += s.chomp.chars
end

map = {}
('a'..'z').each do |a|
  map[a] = 0
end

arr.each do |ch|
  ch.downcase!
  map[ch] += 1 if map.key?(ch)
end

map.each do |k, v|
  puts "#{k} : #{v}"
end

