#include<bits/stdc++.h> using namespace std; #include <string.h> int main(){ string s; cin>>s; int m = 0,n = 0,p = 0; for(int i = 0; i < s.size();i++) { if(s[i] == 'a') { m++; } else if(s[i] == 'b') { n++; } else { p++; } } cout << m << " " << n << " " &l...