function Main(input) {
    input = input.trim();
    x = parseInt(input, 10);

    if(x >= 30) {
        console.log("Yes");
    } else {
        console.log("No");
    }
}
 
Main(require("fs").readFileSync("/dev/stdin", "utf8"));