#include "iostream"
#include "string"
#include "cctype"
#include "vector"
using namespace std;
int main(){
vector str;
string t;
//结束输入需要Ctrl+Z
while (cin >> t) {
str.push_back(t);
}
//第一遍循环迭代全体字符串
for (auto it = str.begin(); it != str.end(); ++it){
#include "string"
#include "cctype"
#include "vector"
using namespace std;
int main(){