Sandy is using a protractor to measure a triangle. The first angle she measures is 40°. The second angle measures 24°. What is the measure of the third angle?