引号略坑哈哈
#include <algorithm>
#include <sstream>
#include <vector>
using namespace std;
int main() {
string str;
while(getline(cin,str)){
vector<string> v;
string temp;
for(int i =0;i<str.size();i++){
if(str[i]!='\"'&&str[i]!= ' '){
temp+=str[i];
}
else if(str[i]==' '){
v.push_back(temp);
temp.clear();
}
else{
i++;
while(str[i]!='\"'){
temp+=str[i];
i++;
}
i++;
v.push_back(temp);
temp.clear();
}
}
if(!temp.empty())v.push_back(temp);
temp.clear();
cout<<v.size()<<endl;
auto it = v.begin();
while(it!=v.end()){
cout<<(*it)<<endl;
it++;
}
}
}