fun test(list: MutableList) { list.removeAll { it.isEmpty() } }