'use strict'

function main(s) {
  const str = s.split('\n')[0].split('');
  const ans = str.filter((char, i) => (i % 2 === 0)).join('');
  console.log(ans);
}

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