Place distinct digits from 1 to 9 in the boxes so that the sums of 3 digits along any of the 4 colored lines are all equal.
What is the maximum possible sum that can be achieved?