Design of Low Energy Consumption 3-Input AND/XOR Gate