#include <iostream>
#include <cstring>
using namespace std;
const int N = 300;
char res[N];
int main(void)
{
string src;
// cin >> src;
getline(cin, src);
int index = 0;
for (int i = 0; i < src.size(); i++) {
res[index++] = src[i];
res[index++] = ' ';
}
cout << res << endl;
return 0;
}