output_description: If Raccoon can win without using the same move twice or more, print `Yes`;
  otherwise, print `No`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      H N
      A_1 A_2 ... A_N
attempt: #!/usr/bin/env python3
  from collections import defaultdict, deque
  from heapq import heappush, heappop
  from bisect import bisect_left, bisect_right
  import sys, random, itertools, math
  
  sys.setrecursionlimit(10**5)
  input = sys.stdin.readline
  sqrt = math.sqrt
  
  
  def LI():
      return list(map(int, input().split()))
  
  
  def LF():
      return list(map(float, input().split()))
  
  
  def LI_():
      return list(map(lambda x: int(x) - 1, input().split()))
  
  
  def II():
      return int(input())
  
  
  def IF():
      return float(input())
  
  
  def LS():
      return list(map(list, input().split()))
  
  
  def S():
      return list(input().rstrip())
  
  
  def IR(n):
      return [II() for _ in range(n)]
  
  
  def LIR(n):
      return [LI() for _ in range(n)]
  
  
  def FR(n):
      return [IF() for _ in range(n)]
  
  
  def LFR(n):
      return [LI() for _ in range(n)]
  
  
  def LIR_(n):
      return [LI_() for _ in range(n)]
  
  
  def SR(n):
      return [S() for _ in range(n)]
  
  
  def LSR(n):
      return [LS() for _ in range(n)]
  
  
  mod = 1000000007
  inf = float("INF")
  
  
  # solve
  def solve():
      h, n = II()
      a = LI()
      print("Yes" if h <= sum(a) else "No")
      return
  
  
  # main
  if __name__ == "__main__":
      solve()
  
problem_description: Statement
  
  Raccoon is fighting with a monster.
  
  The _health_ of the monster is H.
  
  Raccoon can use N kinds of special moves. Using the i-th move decreases the
  monster's health by A_i. There is no other way to decrease the monster's
  health.
  
  Raccoon wins when the monster's health becomes 0 or below.
  
  If Raccoon can win without using the same move twice or more, print `Yes`;
  otherwise, print `No`.
samples: [{"input": "10 3\n    4 5 6", "output": "Yes\n    \n\nThe monster's health will become 0 or below after, for example, using the\nsecond and third moves.\n\n* * *"}, {"input": "20 3\n    4 5 6", "output": "No\n    \n\n* * *"}, {"input": "210 5\n    31 41 59 26 53", "output": "Yes\n    \n\n* * *"}, {"input": "211 5\n    31 41 59 26 53", "output": "No"}]