when (n) { 1 -> res = "one" 2 -> res = "two" else -> res = "many" }