fun f(x: Any): Int { return when (x) { is Int->1 else->0 } }