#include<stdio.h>#include<string.h>char str[2000];int main(){scanf("%s",str);int i;int capital=0,lowercase=0,number=0; //统计大写字母,小写字母,数字 出现次数 int length=strlen(str);for(i=0;i<length;i++){if(str[i]>='a'&&str[i]<='z')lowercase++;else if(str[i]>='A'&&str[i]<='Z')capital++;else if(str[i]>='0'&&str[i]<='9')number++;}printf("大写字母:%d\n小写字母:%d\n数字:%d\n",capital,lowercase,number);return 0;}