The ornamental design for a flag with 51 stars, as shown and described.
The FIGURE is a view of the front face of a flag with 51 stars showing my new design, wherein the front face is parallel to the drawing plane; the rear face is a mirror image of the front face; the flag is of conventional thickness.
The broken lines are for illustrative purposes only and form no part of the claimed design.