"use strict";
function Main(input) {
  const ar = input.split("\n");
  const s = ar[0];
  const ans = s.split("").filter((item, index) => index % 2 === 0).join("");
  console.log(ans);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));