參考答案:
#include <iostream>
#include <string>
using namespace std;
main()
{
string s;
while(cin>>s)
cout<< s <<endl;
}