'use strict'

const main = (INPUT) => {
  const s = INPUT.split('\n')[0]
  let ans = ''
  for (let i = 0; i < s.length; i += 2) {
    ans += s[i]
  }
  console.log(ans)
}

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