process.stdin.resume();
process.stdin.setEncoding('ascii');

var input_stdin = "";
var input_stdin_array = "";
var input_currentline = 0;

process.stdin.on('data', function (data) {
    //process.stdout.write("HERE2");
    input_stdin += data;
});
/*
process.stdin.on('end', function () {
    input_stdin_array = input_stdin.split("\n");
	process.stdout.write("HERE1");
    main();    
});
*/
process.on('SIGINT', function(){
    input_stdin_array = input_stdin.split("\n");
    main();
    process.exit();
});

function readLine() {
    return input_stdin_array[input_currentline++];
}

/////////////// ignore above this line ////////////////////


function main() {

    var s = readLine();
    s = s.split(",");
    s = s.join(" ");
    
    process.stdout.write(s);
}