2002 AIME I Problem 5

Let A_{1}, A_{2}, A_{3}, \ldots, A_{12} be the vertices of a regular dodecagon. How many distinct squares in the plane of the dodecagon have at least two vertices in the set \left\{A_{1}, A_{2}, A_{3}, \ldots, A_{12}\right\} ?