Decomposition has been used to break the design of a new Automated Greenhouse Control System down into smaller sub-problems.
The hierarchical diagram represents the functional design of the program.

Complete the decomposition of this program by selecting the correct sub-task for boxes A and B from the following list:
Box A: Box B: