function Main(input) {
  const X = parseInt(input.trim());
  if (X >= 30) {
    console.log("Yes")
  } 
  else {
    console.log("No")
  }
  }

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