import java.io.*;

public class Main {

	final static long MOD = 1000000007;
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();
		String[] Ws = W.split(" ");
		int H = Integer.parseInt(Ws[0]);
		int N = Integer.parseInt(Ws[1]);

		W = in.readLine();
		Ws = W.split(" ");

		long[] A = new long[Ws.length];
		long sum=0;
		for (int i = 0; i < Ws.length; i++) {
			A[i] = Long.parseLong(Ws[i]);
			sum+=A[i];
		}

		System.out.println(H-sum<=0?"Yes":"No");
	}
} import java.io.*; io.* java public class Main {

	final static long MOD = 1000000007;
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();
		String[] Ws = W.split(" ");
		int H = Integer.parseInt(Ws[0]);
		int N = Integer.parseInt(Ws[1]);

		W = in.readLine();
		Ws = W.split(" ");

		long[] A = new long[Ws.length];
		long sum=0;
		for (int i = 0; i < Ws.length; i++) {
			A[i] = Long.parseLong(Ws[i]);
			sum+=A[i];
		}

		System.out.println(H-sum<=0?"Yes":"No");
	}
} Main final static long MOD = 1000000007; MOD 1000000007 public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();
		String[] Ws = W.split(" ");
		int H = Integer.parseInt(Ws[0]);
		int N = Integer.parseInt(Ws[1]);

		W = in.readLine();
		Ws = W.split(" ");

		long[] A = new long[Ws.length];
		long sum=0;
		for (int i = 0; i < Ws.length; i++) {
			A[i] = Long.parseLong(Ws[i]);
			sum+=A[i];
		}

		System.out.println(H-sum<=0?"Yes":"No");
	} main {
		// TODO 自動生成されたメソッド・スタブ

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();
		String[] Ws = W.split(" ");
		int H = Integer.parseInt(Ws[0]);
		int N = Integer.parseInt(Ws[1]);

		W = in.readLine();
		Ws = W.split(" ");

		long[] A = new long[Ws.length];
		long sum=0;
		for (int i = 0; i < Ws.length; i++) {
			A[i] = Long.parseLong(Ws[i]);
			sum+=A[i];
		}

		System.out.println(H-sum<=0?"Yes":"No");
	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String W = in.readLine(); W in.readLine() in.readLine in String[] Ws = W.split(" "); Ws W.split(" ") W.split W " " int H = Integer.parseInt(Ws[0]); H Integer.parseInt(Ws[0]) Integer.parseInt Integer Ws[0] Ws 0 int N = Integer.parseInt(Ws[1]); N Integer.parseInt(Ws[1]) Integer.parseInt Integer Ws[1] Ws 1 W = in.readLine() W in.readLine() in.readLine in Ws = W.split(" ") Ws W.split(" ") W.split W " " long[] A = new long[Ws.length]; A new long[Ws.length] Ws.length Ws Ws.length long sum=0; sum 0 for (int i = 0; i < Ws.length; i++) {
			A[i] = Long.parseLong(Ws[i]);
			sum+=A[i];
		} int i = 0; int i = 0; i 0 i < Ws.length i Ws.length Ws Ws.length i++ i++ i {
			A[i] = Long.parseLong(Ws[i]);
			sum+=A[i];
		} {
			A[i] = Long.parseLong(Ws[i]);
			sum+=A[i];
		} A[i] = Long.parseLong(Ws[i]) A[i] A i Long.parseLong(Ws[i]) Long.parseLong Long Ws[i] Ws i sum+=A[i] sum A[i] A i System.out.println(H-sum<=0?"Yes":"No") System.out.println System.out System System.out H-sum<=0?"Yes":"No" H-sum<=0 H-sum H sum 0 "Yes" "No" String[] args args public class Main {

	final static long MOD = 1000000007;
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();
		String[] Ws = W.split(" ");
		int H = Integer.parseInt(Ws[0]);
		int N = Integer.parseInt(Ws[1]);

		W = in.readLine();
		Ws = W.split(" ");

		long[] A = new long[Ws.length];
		long sum=0;
		for (int i = 0; i < Ws.length; i++) {
			A[i] = Long.parseLong(Ws[i]);
			sum+=A[i];
		}

		System.out.println(H-sum<=0?"Yes":"No");
	}
} public class Main {

	final static long MOD = 1000000007;
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();
		String[] Ws = W.split(" ");
		int H = Integer.parseInt(Ws[0]);
		int N = Integer.parseInt(Ws[1]);

		W = in.readLine();
		Ws = W.split(" ");

		long[] A = new long[Ws.length];
		long sum=0;
		for (int i = 0; i < Ws.length; i++) {
			A[i] = Long.parseLong(Ws[i]);
			sum+=A[i];
		}

		System.out.println(H-sum<=0?"Yes":"No");
	}
} Main
import java.io.*;

public class Main {

	final static long MOD = 1000000007;
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();
		String[] Ws = W.split(" ");
		int H = Integer.parseInt(Ws[0]);
		int N = Integer.parseInt(Ws[1]);

		W = in.readLine();
		Ws = W.split(" ");

		long[] A = new long[Ws.length];
		long sum=0;
		for (int i = 0; i < Ws.length; i++) {
			A[i] = Long.parseLong(Ws[i]);
			sum+=A[i];
		}

		System.out.println(H-sum<=0?"Yes":"No");
	}
}
