/**
 * This function takes a sentence, splits it into words, and returns a list containing all words that are longer than the given length.
 */
fun allWordsLongerThan(sentence: String, length: Int): List<String> {

    val words = sentence.split(" ")
    val longWords = mutableListOf<String>()

    for (word in words) {
        if (word.length > length) {
            longWords.add(word)
        }
    }

    return longWords
}
/**
 * This function takes a sentence, splits it into words, and returns a list containing all words that are longer than the given length.
 */
fun allWordsLongerThan(sentence: String, length: Int): List<String> {
/**
 * This function takes a sentence, splits it into words, and returns a list containing all words that are longer than the given length.
 */
fun allWordsLongerThan(sentence: String, length: Int): List<String> {

    val words = sentence.split(" ")
    val longWords = mutableListOf<String>()

    for (word in words) {
        if (word.length > length) {
            longWords.add(word)
        }
    }

    return longWords
}