local n = io.read("*n")
for i = 1, 3500 do
  for j = i, 3500 do
    --[[
    4ijk = Njk + Nik + Nij
    k(4ij - Nj - Ni) = Nij
    ]]
    local a = n * i * j
    local b = 4 * i * j - n * (i + j)
    if 0 < b and a % b == 0 then
      local k = a // b
      print(i .." " .. j .. " " .. k)
      os.exit()
    end
  end
end
