fun main() { print("Szám: ") var szam = readLine()!!.toInt() when(szam) { 1, 2 -> println("egy vagy kettő") else -> { println("Valami más") } } }