#include <iostream>
#include <cstdio>
using namespace std;

int main()
{
    string s;
    cin >> s;
    for(int i = 0; i < 19; i++){
        if(s[i] == ',') printf(" ");
        else printf("%c", s[i]);
    }
    cout << endl;
    return 0;
}
