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1 Y=0 0 1 0 1 0 0 0 1 Y=0 0 1 1 1 0 0 0 1 Y=0 1 1 1 1 0 0 0 1 Y=0 1 0 1 1 0 0 0 1 Y=0 0 0 1 1 0 0 0 1 Y=0 0 0 1 0 0 0 0 1 Y=0 1 0 1 0 0 0 0 1 Y=0 1 1 1 0 0 0 0 1 Y=0 0 1 1 0 0 0 0 1 Y=0 0 1 0 0 0 0 0 1 Y=0 1 1 0 0 0 0 0 1 Y=0 1 0 0 0 0 0 0 1 Y=0 0 0 0 0 0 0 0 1 Y=1 function: Y = (!B3 && !B2 && !B1 && !B && !A3 && !A2 && !A1 && !A || B3 && !B2 && !B1 && !B && !A3 && !A2 && !A1 && !A || B3 && B2 && !B1 && !B && !A3 && !A2 && !A1 && !A || !B3 && B2 && !B1 && !B && !A3 && !A2 && !A1 && !A || !B3 && B2 && B1 && !B && !A3 && !A2 && !A1 && !A || B3 && B2 && B1 && !B && !A3 && !A2 && !A1 && !A || B3 && !B2 && B1 && !B && !A3 && !A2 && !A1 && !A || !B3 && !B2 && B1 && !B && !A3 && !A2 && !A1 && !A || !B3 && !B2 && B1 && B && !A3 && !A2 && !A1 && !A || B3 && !B2 && B1 && B && !A3 && !A2 && !A1 && !A || B3 && B2 && B1 && B && !A3 && !A2 && !A1 && !A || !B3 && B2 && B1 && B && !A3 && !A2 && !A1 && !A || !B3 && B2 && !B1 && B && !A3 && !A2 && !A1 && !A || B3 && B2 && !B1 && B && !A3 && !A2 && !A1 && !A || B3 && !B2 && !B1 && B && !A3 && !A2 && !A1 && !A || !B3 && !B2 && !B1 && B && !A3 && !A2 && !A1 && !A || !B3 && !B2 && !B1 && !B && A3 && !A2 && !A1 && !A || !B3 && !B2 && !B1 && !B && A3 && A2 && !A1 && !A || !B3 && !B2 && !B1 && !B && !A3 && A2 && !A1 && !A || !B3 && !B2 && !B1 && !B && !A3 && A2 && A1 && !A || !B3 && !B2 && !B1 && !B && A3 && A2 && A1 && !A || !B3 && !B2 && !B1 && !B && A3 && !A2 && A1 && !A || !B3 && !B2 && !B1 && !B && !A3 && !A2 && A1 && !A || !B3 && !B2 && !B1 && !B && !A3 && !A2 && A1 && A || !B3 && !B2 && !B1 && !B && A3 && !A2 && A1 && A || !B3 && !B2 && !B1 && !B && A3 && A2 && A1 && A || !B3 && !B2 && !B1 && !B && !A3 && A2 && A1 && A || !B3 && !B2 && !B1 && !B && !A3 && A2 && !A1 && A || !B3 && !B2 && !B1 && !B && A3 && A2 && !A1 && A || !B3 && !B2 && !B1 && !B && A3 && !A2 && !A1 && A || !B3 && !B2 && !B1 && !B && !A3 && !A2 && !A1 && A)