The angles in a triangle are such that one angle is 78 degrees more than the smallest angle, while the third angle is 4 times as large as the smallest angle. Find the measures of all three angles.