#include <iostream>
#include<cstring>

using namespace std;

int main(){
    string s;
     getline(cin,s);
     s.erase(5,1);
     s.insert(5," ");
     s.erase(13,1);
     s.insert(13," ");
     cout<<s;


    return 0;
}