ans = [0] * 26
loop do
  str = gets
  unless str
    break
  end
  str.length.times do |i|
    tmp = str[i]
    if "a" <= tmp && tmp <= "z"
      ans[tmp.ord - "a".ord] += 1
    elsif "A" <= tmp && tmp <= "Z"
      ans[tmp.ord - "A".ord] += 1
    end
  end
end

26.times do |i|
  puts "#{("a".ord + i).chr} : #{ans[i]}"
end

