#include <bits/stdc++.h>

using namespace std;
char s[100];
int main()
{
    while (~scanf("%s",s)){
        for (int i=0;i<strlen(s);++i){
            if (i==5||i==13)
                printf(" ");
            else
                printf("%c",s[i]);
        }
        printf("\n");
    }

    return 0;
}
