#include #include #include using namespace std; // Read in any number of words (not // necessarily all on the same line) // and then when the input ends, write // them back out, one per line. int main(int argc, char* argv[]){ string s; vector v; while(cin >> s){ v.push_back(s); } for(int i = 0; i < v.size(); i++){ cout << v[i] << endl; } return 0; }