A triangle is inscribed in a semicircle. One angle measures 50 degrees. What is the measure of the other two angles?