'use strict'

const main = (INPUT) => {
  const X = INPUT.split('\n')[0]
  if (X >= 30) {
    console.log('Yes')
  } else {
    console.log('No')
  }
}

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