In Triangle ABC, Segment AB is congruent to segment BC, and the measure of angle A is 39 degrees, what is the measure of angle C