# Problem B - Common Raccoon vs Monster



# input

h, n = list(map(int, input().split()))

a_list = list(map(int, input().split()))



# initialization

a_sum = sum(a_list)



# output

if h - a_sum<=0:

    print("Yes")

else:

    print("No")

# Problem B - Common Raccoon vs Monster



# input

H, N = list(map(int, input().split()))

a_nums = list(map(int, input().split()))



# initialization

a_sum = sum(a_nums)



# output

if a_sum>=H:

    print("Yes")

else:

    print("No")

# Problem B - Common Raccoon vs Monster
# input
h, n = list(map(int, input().split()))
a_list = list(map(int, input().split()))
# initialization
a_sum = sum(a_list)
# output
if h - a_sum <= 0:
    print("Yes")
else:
    print("No")

# Problem B - Common Raccoon vs Monster
# input
H, N = list(map(int, input().split()))
a_nums = list(map(int, input().split()))
# initialization
a_sum = sum(a_nums)
# output
if a_sum >= H:
    print("Yes")
else:
    print("No")

-h, n = list(map(int, input().split())) -a_list = list(map(int, input().split())) +H, N = list(map(int, input().split())) +a_nums = list(map(int, input().split())) -a_sum = sum(a_list) +a_sum = sum(a_nums) -if h - a_sum <= 0: +if a_sum >= H: