import Foundation

func main() {
    guard let line = readLine() else { return }
    let inputs = line.components(separatedBy: " ").compactMap() { Int($0) }
    if inputs[0] >= 30 {
        print("Yes")
    } else {
        print("No")
    }
}
main()
