#include<stdio.h>
void main()
{
char character; 
int digit=0,characters=0,other=0;
freopen("a.txt","r",stdin);
while((character=getchar())!= '\0')
{
	if(('A' <= character && character <= 'Z') || ('a' <= character && character <= 'z'))
	characters++;
	else if('0'<=character && character<='9')	
	digit++;
	else
	other++;
	
}
printf("The number of:\n");
printf("character:%d\tdigit:%d\tothers:%d\n",characters,digit,other);
}
