#include "stdio.h"
#include "ctype.h"
int main(void)
{
char s[80];
int a = 0, b = 0, i;
gets(s);
for (i = 0; s[i] != '\0' ;i++)
{
if (isupper(s[i]))
a++;
else if (islower(s[i]))
b++;
}
printf("大写字母个数:%d\n", a);
printf("小写字母个数:%d\n", b);
return 0;
}