function Main(input) {
  var s = input.split("\n")[0];
  var oddstr = "";
  for(var i = 0; i < s.length; i++) if((i + 1) % 2 === 1) oddstr += s[i];
  console.log(oddstr);
}

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