Using the flow method, we prove an existence result for the problem of prescribing the Q-curvature on the even dimensional sphere S n. More precisely, we prove that there exists a conformal metric on S n such that its Q-curvature is f , when f possesses certain symmetry.