function Main(input) {
  input = input.split("\n");
  string = input[0];
  var space = " ";
  var position = 4;
  var output = [string.slice(0, position), space, string.slice(position)].join('');
  console.log(output);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));