function Main(input) {
	var s = String(input);
	var s2 = s.slice(0, 4) + String(" ") + s.slice(4);
	console.log('%s', s2);
}
// Don't edit this line!
Main(require("fs").readFileSync("/dev/stdin", "utf8"));