239. Fence Order. One person ordered a fence with a total length of 297 m. The fence was to consist of 16 sections, each containing a whole number of meters. Moreover, 8 sections were to have the maximum length, while the others were to be 1, 2, or 3 meters shorter.

How should this order be carried out? Suppose that the 8 sections of maximum length contain 15 m each, then the remaining sections have lengths of 14, 13, or 12 m; naturally, it is not necessary to take sections of each of these sizes.
239. 8 sections of 20 m each, 1 section 18 m long, and 7 sections of 17 m each were manufactured. Thus, a total of 16 sections with a total length of \(297 \mathrm{m}\) were obtained, as required by the customer.