#include <cstdio> #include <cstring> using namespace std; int main(){ char ch; int num = 0; while(EOF != scanf("%c", &ch)){ &nbs...