#include <bits/stdc++.h>
using namespace std;
string s, s1;
int main()
{
while(cin >> s)
{
s1 = s1 + s + ' ';
}
s1.erase(s1.size()-1, 1);
cout << s1 << '\n';
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgpzdHJpbmcgcywgczE7CgppbnQgbWFpbigpCnsKICAgIHdoaWxlKGNpbiA+PiBzKQogICAgewogICAgICAgIHMxID0gczEgKyBzICsgJyAnOwogICAgfQogICAgczEuZXJhc2UoczEuc2l6ZSgpLTEsIDEpOwogICAgY291dCA8PCBzMSA8PCAnXG4nOwp9Cg==