fun main(args: Array<String>) {
    tenka1_2017c()
}

fun tenka1_2017c() {
    val N = readLine()!!.toLong()

    (1..3500L).forEach { h ->
        (1..3500L).forEach { n ->
            val m = (4 * h * n - N * (n + h))
            if (m > 0) {
                val w = (N * h * n) / (4 * h * n - N * (n + h))
                if (w > 0) {
                    if (4 * h * n * w == N * (n * w + h * w + h * n)) return println("$h $n $w")
                }
            }
        }
    }
}
