fun main(args: Array<String>) {
    val (a: Int, b: Int, c: Int) = readLine()!!.split(" ").map(String::toInt)
    var ans: String
    if (a + b < c) ans = "NO"
    else ans = "YES"
    println(ans)
}
