The following are rules for repeating patterns. For which rule will the 12th shape be a circle?

A.
triangle, circle, square

B.
circle, square

C.
rectangle, circle

D.
circle, circle, triangle