fun main(args: Array<String>) {
    val N = readLine()!!.toLong()
    for (h in 1..3500) {
        for (n in 1..3500) {
            val p = N * h * n
            val q = 4L * h * n - N * n - N * h
            if (q != 0L && p % q == 0L && p / q > 0) {
                println("$h $n ${p / q}")
                return
            }
        }
    }
}