import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(), M = sc.nextInt(), X = sc.nextInt(); sc.close(); if (3 > X - N + M) System.out.print("NO"); else System.out.print("YES"); } }