import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		//入力表示
		int H = scanner.nextInt();
		int N = scanner.nextInt();
		
		//決まった回数繰り返す
		for (int i = 0; i < N; i++) {
          
			int A = scanner.nextInt();
			H -= A;
		}
      	
		String ans = H <= 0 ? "Yes" : "No";
		System.out.println(ans);


		scanner.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		//入力表示
		int H = scanner.nextInt();
		int N = scanner.nextInt();
		
		//決まった回数繰り返す
		for (int i = 0; i < N; i++) {
          
			int A = scanner.nextInt();
			H -= A;
		}
      	
		String ans = H <= 0 ? "Yes" : "No";
		System.out.println(ans);


		scanner.close();
	}
} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		//入力表示
		int H = scanner.nextInt();
		int N = scanner.nextInt();
		
		//決まった回数繰り返す
		for (int i = 0; i < N; i++) {
          
			int A = scanner.nextInt();
			H -= A;
		}
      	
		String ans = H <= 0 ? "Yes" : "No";
		System.out.println(ans);


		scanner.close();
	} main {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		//入力表示
		int H = scanner.nextInt();
		int N = scanner.nextInt();
		
		//決まった回数繰り返す
		for (int i = 0; i < N; i++) {
          
			int A = scanner.nextInt();
			H -= A;
		}
      	
		String ans = H <= 0 ? "Yes" : "No";
		System.out.println(ans);


		scanner.close();
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int H = scanner.nextInt(); H scanner.nextInt() scanner.nextInt scanner int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner for (int i = 0; i < N; i++) {
          
			int A = scanner.nextInt();
			H -= A;
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
          
			int A = scanner.nextInt();
			H -= A;
		} {
          
			int A = scanner.nextInt();
			H -= A;
		} int A = scanner.nextInt(); A scanner.nextInt() scanner.nextInt scanner H -= A H A String ans = H <= 0 ? "Yes" : "No"; ans H <= 0 ? "Yes" : "No" H <= 0 H 0 "Yes" "No" System.out.println(ans) System.out.println System.out System System.out ans scanner.close() scanner.close scanner String[] args args public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		//入力表示
		int H = scanner.nextInt();
		int N = scanner.nextInt();
		
		//決まった回数繰り返す
		for (int i = 0; i < N; i++) {
          
			int A = scanner.nextInt();
			H -= A;
		}
      	
		String ans = H <= 0 ? "Yes" : "No";
		System.out.println(ans);


		scanner.close();
	}
} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		//入力表示
		int H = scanner.nextInt();
		int N = scanner.nextInt();
		
		//決まった回数繰り返す
		for (int i = 0; i < N; i++) {
          
			int A = scanner.nextInt();
			H -= A;
		}
      	
		String ans = H <= 0 ? "Yes" : "No";
		System.out.println(ans);


		scanner.close();
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		//入力表示
		int H = scanner.nextInt();
		int N = scanner.nextInt();
		
		//決まった回数繰り返す
		for (int i = 0; i < N; i++) {
          
			int A = scanner.nextInt();
			H -= A;
		}
      	
		String ans = H <= 0 ? "Yes" : "No";
		System.out.println(ans);


		scanner.close();
	}
}
