def ascan; gets.split.map(&:to_i);end n,m,x = ascan puts x-n+m >= 3 ? :YES : :NO