#include <stdio.h>
#include <ctype.h>
int main(void)
{
int i,num=0,alp=0,ot=0;
char ch;
for (i = 0; i<20; i++) {
ch=getchar();
if (isalpha(ch)) alp++;
else if (isdigit(ch)) num++;
else ot++;
}
printf("數字:%d\n字母:%d\n其它:%d\n",num,alp,ot);
return 0;
}
//---------------------------------------------------------------------------