One theater plans to present seven plays over seven weeks in the fall  They are F, G , J, K, O, R, S  There is one play a week, and each play runs exactly one week  The repertory must meet the following conditions :(1) G must be performed in the third week  (2) O and S cannot be performed continuously  (3) K must be staged before J and S
(4) F and J must be scheduled to perform in two consecutive weeks
Carriers need support and escort, and the more they are built, the fewer resources there are to build other ships and aircraft to support them.