Question 8A convex polygon with 2018 vertices is triangulated by diagonals not crossing in its interior. Let $a,b,c$ count triangles with 2,1,0 polygon sides, respectively. Given $a=504b$, find $c$.