import java.util.*
fun main(args: Array<String>) {
    val reader = Scanner(System.`in`)
    val curTemperature = reader.nextInt()
    if(curTemperature >= 30){
        println("Yes")
    }
    else {
        println("No")
    }
}