Vashti is designing the cover of the school yearbook. She wants to draw a flower on the cover that looks the same for each rotation of 45 degrees. How many petals should the flower have?