In a triangle ABC if angle A + angle B = 65 degrees and angle B + angle C = 140 degrees, calculate angle A and angle B