#include<bits/stdc++.h> using namespace std; int main() { string s; cin>>s; int aNum = 0, bNum = 0, cNum = 0; // write&nb...