Maya is using shapes to create a repeating pattern. Which rule will give Maya a repeating pattern that has a triangle as the 20th shape?

A.
triangle, square, circle, circle

B.
square, triangle, circle, circle

C.
square, circle, circle, triangle

D.
circle, circle, triangle, square