Злой профессор JavaScript
const angryProfessor = (k, a) => a.filter(v => v < 1).length < k ? 'YES' : 'NO'
Jealous Jellyfish
const angryProfessor = (k, a) => a.filter(v => v < 1).length < k ? 'YES' : 'NO'