This pattern repeats every 5 terms. The pattern is trapezoid, square, triangle, pentagon, square. What is the 17th term of this pattern?

a pattern of shapes, trapezoid, square, triangle, pentagon, square

A. Triangle
B. Square
C. Pentagon
D. Trapezoid