let inpt = readLine()!.split(separator: " ").map{ Int($0)! } let uso = inpt[0]-inpt[1] if inpt[2] - uso >= 3 { print("YES") } else { print("NO") }