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