In a certain triangle, the exterior angles are in the ratio $3:5:10.$ What is the measure of the smallest interior angle of the triangle, in degrees?