function main(input) {
  let result = '';
  for (let i = 0;i < input.length;i++) {
    if (i % 2 === 0) {
      result += input[i];
    }
  }
  console.log(result);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));