Switch S4
Switch S5
S1 S2 L
0 0 0
0 1 1
1 0 1
1 1 1