local n=io.read("n")
for i=1,3500 do
    for j=1,3500 do
        local k=n*i*j/(4*i*j-n*j-n*i)
        if math.fmod(k,1)==0 and k>=0 then
            print(i,j,string.format("%d",k))
            return
        end
    end
end