// https://atcoder.jp/contests/tenka1-2017/tasks/tenka1_2017_c

fun main() {
    tenka1_2017c()
}

fun tenka1_2017c() {
    val n = readLine()!!.toLong()
    var cm = 0L
    var i = 1L
    for (i in 1 .. 3500L) {
        for (j in 1..3500L) {
            val t = n * i * j
            val p = 4 * i * j - n * i - n * j
            if (p <= 0L) continue
            if (t % p == 0L) {
                println("$i $j ${t / p}")
                return
            }
        }
    }
}