Question 25Find the largest positive integer $M$ such that $$\cos^2x-\sin^2x+\sin x=\frac M{888}$$ has a real solution.