// WITH_RUNTIME // INTENTION_TEXT: "Replace with 'filterIndexed{}.map{}'" import java.util.* fun foo(list: List): List { val result = list .filterIndexed { i, s -> s.length > i } .map { it.length } return result }