fun box(): String { val x = Array(5, { it } ).iterator() var i = 0 while (x.hasNext()) { if (x.next() != i) return "Fail $i" i++ } return "OK" }