The measure of one of the angles in a linear pair is 24 less than the measure of the other angle. Find the measure of each angle.