function Main (s) {
  s = s.split("\n")[0].split("");
  var ans = "";
  s.forEach(function (element, index) {
    if (index%2 == 0) {
      ans += element;
    }
  });
  console.log(ans);
}

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