function Main(input) {
  var output = "";
  for(var i = 0; i < input.length; i++){
    if(i % 2 == 0){
       output += input.slice(i , i + 1);
       }
  }
  console.log(output);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
