fun main(args: Array<String>) {
    val N = readInputLine().toLong()
    
    for (h in LongRange(1L, 3500L)) {
        for (n in LongRange(h, 3500L)) {
            val numerator = -N * h * n
            val denominator = N * n + N * h - 4L * h * n
            if (denominator < 0L && numerator % denominator == 0L) {
                println("$h $n ${numerator / denominator}")
                return
            }
        }
    }
}

fun readInputLine(): String {
    return readLine()!!
}
