fun main(args:Array<String>) {
  val N = readLine()!!.toLong()
  val limit=3500L
  val equation:(Long,Long)->Pair<Long,Long> = {a,b -> Pair(N*a*b,(4*a*b-N*(a+b)))  }
   ath@ for(h in 1L..limit) {
     for(n in 1L..limit) {
       val (frac,denom)= equation(h,n)
        if(denom > 0L && frac % denom==0L) {
          println("${h} ${n} ${frac/denom}")
          break@ath
        }
      }
    }
}
