fun main(args: Array<String>) {
    val n = readLine()!!.toLong()
    for (i in 1..3500){
        for (j in 1..3500){
            val I = i.toLong()
            val J = j.toLong()
            val p : Long = I*J*n
            val q : Long = 4*I*J-I*n-J*n
            if (q > 0 && p % q == 0.toLong()){
                println(I.toString() + " " + J.toString() + " " + (p/q).toString())
                return
            }
        }
    }
}