fun fact(x: Int): Int = if (x < 2) 1 else x * fact(x - 1)