Design a logic circuit to simulate the circuitry that might exist in a vending machine. The vending machine accepts inputs of nickels, dimes and quarters but only one of each. It dispenses water and beer. Use 3 of the logic switches to simulate the coin detectors (one each for nickels, dimes and quarters) and use two of the indicator lights to simulate the dispenser valves for water and beer. For amounts of less than 15 cents, there is no output. For amounts of 15 cents to 30 cents, the machine dispenses water, but for amounts over 30 cents, it dispenses beer.