On the Subject of Three-Way Gates

There are more than just 16 operators now?

This module consists of a center bulb, 3 inner bulbs, and 9 outer bulbs. Each triplet of outer bulbs is linked to an inner bulb, and the three inner bulbs are connected to the center bulb.

Each bulb represents a boolean value. If the bulb is lit (blue or greener than the rest), its value is true, otherwise it is false.

The value of the inner bulbs depends on their triplet of outer bulbs, as well as the operator of a three-input boolean logic gate inscibed inside it. Order the inputs in ascending order (depending on the digits inscribed on the outer bulbs), then arrange them using the table below. To get the output of the logic gate, take the operator’s position in the table below (read from left to right, top to bottom, first element is n°0) and convert it to an 8-bit binary number. The most significant bit represents the top row (all inputs are false) and the least significant bit the bottom row (all inputs are true).

Do the same thing for the center bulb, with the inner bulbs as the inputs. To get the order of the inputs, associate the number of batteries for the top bulb, the number of indicators for the south-east one, and the number of ports for the south-west one. Using this, arrange them in ascending order. In case of a tie, the left-most input is the one that you calculated first (top, south-east, south-west).

Inputs
012Output
000MSB
100
010
110
001
101
011
111LSB

Use the center bulb to submit the current configuration. An incorrect submission will incur a strike. Advance through 3 stages to solve the module.

On the first stage, the outer and inner bulbs are configured. Since the center bulb is used to submit, press it when the last digit of the seconds on the timer is even to send a true value, or odd to make it false.

For the second stage, configure the inner bulbs (the outer and center bulbs are already good).

For the third stage, configure the outer bulbs.

0123456789
0123456789
1ABCDEFGHIJ
2KLMNOPQRST
3UVWXYZabcd
4efghijklmn
5opqrstuvwx
6yz/Π+(){}[
7]<>,;:!?$£
8§%*#~^&@°
9¤ ♓︎♒︎♑︎
10 ♐︎♏︎♎︎♍︎♌︎ ♋︎♊︎♉︎♈︎
11
12
0123456789
13
14½¼αβγδ
15εζηθικλμνξ
16οπρςστυφχψ
17ω
18
19
20
21
22Ω
23±=ѼѬ
24Ѯ¥
25