. The same type of product is manufactured by allocating sets of assembly parts to three different factories A, B, and C. The profit of each factory that is based on the
allocated sets of parts is as shown in the table below. How much (in thousand dollars)
is the maximum profit that is obtained by allocating a total of four sets of parts to these three factories? Unit of profit: thousand dollars
Number of allocated sets of parts 0 1 2 3 4
Profit of factory A 0 2 5 7 8
Profit of factory B 0 1 3 5 7
Profit of factory C 0 3 4 6 8