let main = (standardInput) => {
  let date = standardInput.split('/').join('')
  if (Number(date) >= 20190430) console.log('TBD')
  else console.log('Heisei')
}

main(require('fs').readFileSync('/dev/stdin', 'UTF-8'))