inp = require('fs').readFileSync('/dev/stdin', 'utf8').trim().split('\n')
l = inp.shift().split(' ')
H = l.shift() * 1
N = l.shift() * 1 
a = inp.shift().split(' ').map(x => x - 0).reduce((c, a) => a + c, 0)
console.log(a >= H ? 'Yes' : 'No')