Question 7Suppose n is a positive integer, and x is measured in radians. If the equation $2\pi\sin nx=2\pi-x$, where $0\le x\lt 2\pi$, has exactly 2018 different solutions, find n.