object AMain{
    fun solve(){
        val x = readLine()!!.toInt()
        if(x >= 30){
            println("Yes")
        }else{
            println("No")
        }
    }
}

fun main(){
    AMain.solve()
}

