COROANA TE ROG!!!
#include<iostream>
#include<cstring>
using namespace std;
int main(){
char sir[1001]="";
int i=0, cif=0, mic=0, mare=0;
cin.getline(sir,1001,'*');
for(i;i<strlen(sir);i++){
if(strchr("0123456789", sir[i])!=NULL) cif++;
if(strchr("abcdefghijklmnopqrstuvwxyz", sir[i])!=NULL) mic++;
if(strchr("ABCDEFGHIJKLMNOPQRSTUVWXYZ", sir[i])!=NULL) mare++;
}
cout<<cif<<' '<<mare<<' '<<mic;
return 0;
}