fun test(i: Int) { when (i) { 1 -> println(1) 2 -> println(2) else -> println(0) } }