The measures of two angles of a triangle are 52 and 89. What is the measure of the third angle?