#include <stdio.h>
#include <ctype.h>

void main(void)
{
  int c;
  int count[26];
  int index;
  int total;

  index = 0;
  while (index < 26)
  {
    count[index] = 0;
    index++;
  }

  total = 0;
  c = getchar();
  while (c != EOF)
  {
    c = toupper(c);
    if (isalpha(c)) 
    {
      total++;
      count[c - 'A']++;
    }
    c = getchar();
  }

  index = 0;
  while (index < 26)
  {
    printf("The %c count is: %d (%6.2f%%)\n", 
      index + 'A', count[index], 
      (count[index] * 100.0) / total);
    index++;
  }
}
