#include<iostream> #include<string> using namespace std; int main(){ string s; while(true){ if(cin >> s) cout<<s<<" "; else{ break; } } return 0; }