14. There are 40 red points, 30 blue points, and 20 green points marked on a circle. The circle is divided into 90 arcs, and each arc is labeled with a number based on the colors of its endpoints: a red-blue arc is labeled 1, a red-green arc is labeled 2, a blue-green arc is labeled 3, and arcs with endpoints of the same color are labeled 0. Find the minimum and maximum values of the sum of all these numbers.
14. Let the sum of the numbers written be $S$; assign values to the three-colored points as follows: Red 0, Blue 1, Green 2, and let the sum of these values be $T$.

Notice that, on arcs with endpoints of different colors, the number written equals the sum of the numbers at the endpoints.

Thus, $S=2 T-A$, where $A$ is the sum of the values at the endpoints of arcs with endpoints of the same color.

Also, $T=0 \times 40+1 \times 30+2 \times 20=70$. Clearly, the blue points and green points can be arranged so that no two blue points or two green points are adjacent.
In this case, $A=0, S_{\text {max }}=140$;
When the blue and green points are each connected in a single segment, $A$ is maximized, with $A_{\max }=(1+1) \times 29+(2+2) \times 19=134$. At this time, $S_{\min }=6$.