If five angles of a heptagon have measures of #80^circ, 85^circ, 175^circ, 90^circ, 140^circ#, and if the other two angles are congruent, what is the measure of each of the other two angles?