include < stdio.h >
include < iostream >
include < string >
int main(int argc, char **argv)
{
int a = 0, b = 0, c = 0;
string str;
getline(cin, str);
for(auto it = str.begin(); it != str.end(); ++it){
if (*it == 'a')a++;
else if (*it == 'b')b++;
else if (*it == 'c')c++;
}
printf ("There are %d a, %d b and %d c\n", a, b, c);
return 0;
}
include < iostream >
include < string >
int main(int argc, char **argv)
{
}