import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int hp = sc.nextInt();
		int n = sc.nextInt();
		int td = 0;

		for(int i = 0; i < n; i++) {
			td += sc.nextInt();
		}

		System.out.println(hp <= td ? "Yes" : "No");
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int hp = sc.nextInt();
		int n = sc.nextInt();
		int td = 0;

		for(int i = 0; i < n; i++) {
			td += sc.nextInt();
		}

		System.out.println(hp <= td ? "Yes" : "No");
	}
} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int hp = sc.nextInt();
		int n = sc.nextInt();
		int td = 0;

		for(int i = 0; i < n; i++) {
			td += sc.nextInt();
		}

		System.out.println(hp <= td ? "Yes" : "No");
	} main {

		Scanner sc = new Scanner(System.in);

		int hp = sc.nextInt();
		int n = sc.nextInt();
		int td = 0;

		for(int i = 0; i < n; i++) {
			td += sc.nextInt();
		}

		System.out.println(hp <= td ? "Yes" : "No");
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int hp = sc.nextInt(); hp sc.nextInt() sc.nextInt sc int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int td = 0; td 0 for(int i = 0; i < n; i++) {
			td += sc.nextInt();
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			td += sc.nextInt();
		} {
			td += sc.nextInt();
		} td += sc.nextInt() td sc.nextInt() sc.nextInt sc System.out.println(hp <= td ? "Yes" : "No") System.out.println System.out System System.out hp <= td ? "Yes" : "No" hp <= td hp td "Yes" "No" String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int hp = sc.nextInt();
		int n = sc.nextInt();
		int td = 0;

		for(int i = 0; i < n; i++) {
			td += sc.nextInt();
		}

		System.out.println(hp <= td ? "Yes" : "No");
	}
} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int hp = sc.nextInt();
		int n = sc.nextInt();
		int td = 0;

		for(int i = 0; i < n; i++) {
			td += sc.nextInt();
		}

		System.out.println(hp <= td ? "Yes" : "No");
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int hp = sc.nextInt();
		int n = sc.nextInt();
		int td = 0;

		for(int i = 0; i < n; i++) {
			td += sc.nextInt();
		}

		System.out.println(hp <= td ? "Yes" : "No");
	}
}