AND PR1 LED1 A OR LED2 A 1 3 NOT NAND LED3 4 LED4 XOR LEDS NOR 6 LED6 XNOR 7 LED7 8 8 LED7 7 XNOR B LED6 NOR LED5 5 X0R LED4 NAND LED3 B NOT 3 LED2 LED1 A OR PR1 AND A AND PR1 LED1 OR LED2 A 3 NOT NAND LED3 4 LED4 0 XOR 5 LEDS NOR LED6 XNOR 7 LED7 AND PR1 LED1 A OR LED2 A 0 3 NOT B NAND LED3 4 LED4 0 XOR 5 LEDS NOR LED6 XNOR LED7 8