Abreviando uma frase

Crie uma função que recebe uma sentence e retorna sua abreviação. Obtenha todas as palavras com comprimento maior ou igual a n e retorne a primeira letra de cada uma, em maiúscula, como uma única string.

Exemplos

abbreviate("do it yourself") ➞ "Y"

abbreviate("do it yourself", 2) ➞ "DIY"
// "do" and "it" are included because the second parameter specified that word lengths 2 are allowed.

abbreviate("attention AND deficit OR hyperactivity THE disorder")➞ "ADHD"
// Words below the default 4 characters are not included in the abbreviation.

abbreviate("the acronym of long word lengths", 5) ➞ "AL"
// "acronym" and "lengths" have 5 or more characters.

Observações

Pode não haver um argumento fornecido para n, então defina o padrão como 4.