#include <iostream>
#include <bits/stdc++.h>

using namespace std;



int main()
{
    string s;
    getline(cin , s);
    int len = s.length();

    for(int i = 0; i < len; ++i){
        if(s[i] == ',')
            s[i] = ' ';
    }

    cout << s << "\n";

    return 0;
}
