Four sensors are installed in two large tanks at a chemical plant which contain different liquids being heated. Liquid-level sensors are being used to detect whenever the level in tank A or tank B rises above a predetermined level. Temperature sensors detect when the temperature in tank A or tank B drops below a prescribed temperature limit. Design a logic circuit that will detect whenever the liquid levels in tank A and tank B are too high at the same time or the temperatures in both tanks are too low at the same time.