#include<iostream>
#include<algorithm>
#include<string>
using namespace std;

int main()
{
	//freopen("kai.cpp", "r", stdin);
	string ans;
	getline(cin, ans);
	for (int i = 0; i < ans.length(); i++)
		if (ans[i] == ',')
			ans[i] = ' ';
	cout << ans << endl;
}