// WITH_RUNTIME fun foo(list: List): Int? { var index = 0 for (s in list) { val x = s.length * index index++ if (x > 0) return x } return null }