#include <iostream> #include <string> using namespace std; int main() { string str; getline(cin,str); int word = 0, space = 0, number = 0, other = 0; for(int i = 0; i < str.size(); ++i){ if(str[i]>='a'&&str[i]<='z' || str[i]>='A'&&str[...