#include <stdio.h>
int main()
{
//char volume[100001]={0};
char volume=0;
int x=0;
int i=0,count1=0,count0=0;
//scanf("%c",volume);
while( (volume=getchar()) != '\n' )
{
if(isalpha(volume))
x += tolower(volume) - 'a' +1;
}
while(x>1)
{
if(x%2==1)
count1++;
else if(x%2==0)
count0++;
x = x/2;
}
count1++;
if(x==0)
{count1--;count0;}
printf("%d %d",count0,count1);
return 0;
}
03-25
269
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-22