using System; public class Hello { public static void Main() { string[] line = Console.ReadLine().Trim().Split(' '); var n = int.Parse(line[0]); var m = int.Parse(line[1]); var x = int.Parse(line[2]); var a = n - m; Console.WriteLine(x - a >= 3 ? "YES" : "NO"); } }