Problem Statement : There are 5 BOXES (BOX1, BOX2,3,4,5). Each box has three sensors. 2 Digital, 1 Analog, Digital signal 1 – high if the package is present inside the box. EEE Digital signal 2 – High if the box is opened. Analog signal : 0 to 5V. Conditions: The Box should be opened only if Both digital signals are High and analog values between 2 to 3 Volts. Only one box should be open at a Time. Detect whether the event is Package removed or Package Placed. The next event cannot happen until the box is closed.