Use the law of syllogism to draw a conclusion from the two given statements below.
If two angles are vertical angles, then they have equal measures.
If two angles have equal measures, then they are congruent.
A. If two angles are vertical, then they are congruent.
B. Vertical angles have equal measures.
C. Angles with equal measures are vertical.
D. Congruent angles are vertical.