Surplus treaty line calculation with a retention table, worked cession percentages for three risks, one exceeding treaty capacity, and the errors to catch.