const main = (input) => {
    const input = input.split("\n");
    const tmp = Number(input[0]);
  
    console.log(tmp >= 30 ? 'Yes' : 'No');

}

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