function main(input){
  input = input.split('\n');
  if(Number(input[0] >= 30)){
    console.log('Yes')
  }else{
    console.log('No')
  }
}


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