import java.util.Scanner; class Main{ public static void main(String[]$){ Scanner s=new Scanner(System.in); int n=s.nextInt(),m=s.nextInt(),x=s.nextInt(); System.out.println(n-m+3<=x?"YES":"NO"); } }