#include <iostream>
#include <fstream>
#include <string>
#include <algorithm>

char op_replace_comma(char c) 
{
	if (c == ',') return ' ';
	else return c;
}

int main() 
{
	std::ifstream in("Input.txt");
	std::ofstream out("Output.txt");
	std::string str;
	while (in >> str) {
		std::transform(str.begin(), str.end(), str.begin(), op_replace_comma);
		out << str << std::endl;;
	}

	in.close();
	out.close();

	return 0;
}