What type of triangle has two congruent sides and two angles measuring 45 degrees?
A. isosceles
B. right isosceles
C. right
D. equilateral