let n = read_int ()
let _ = for h = 1 to 3500 do
  for m = 1 to 3500 do let d = 4 * h * m - n * m - n * h in if d > 0 && n * h * m mod d = 0 then (Printf.printf "%d %d %d\n" h m @@ n * h * m / d; exit 0) done done