object Main {
  def main(args: Array[String]): Unit = {
    import scala.io.StdIn.readLine
    val Array(datN) = readLine.split(" ").map(_.toInt)
  
    val ans = datN >= 30
    println(if(ans) "Yes" else "No")
  }
}
