#include #include #include using std::string; using std::vector; using std::cin; using std::cout; using std::endl; int main(int argc, char **argv) { string word; vector text; while (cin >> word) text.push_back(word); for (vector::const_iterator iter = text.begin(); iter != text.end(); ++iter) cout << *iter << endl; return 0; }