#include "bits/stdc++.h" using namespace std; typedef long long ll; int main() { string s; while (cin >> s) { cout << s << " "; } cout << endl; return 0; }