fun main(args: Array<String>) {
    val N = readLine()!!.toLong()

    for (h in 1..3500L) {
        for (n in 1..3500L) {
            val x1 = (N * h * n)
            val x2 = (4 * h * n - N * n - N * h)
            if (x2 > 0 && x1 % x2 == 0L) {
                val w = x1 / x2
                println("$h $n $w")
                return
            }
        }
    }

}
