Input

Puzzle31 expects nine parameters; buttonA1 through buttonC3. Each can take the value 'up' or 'down'.

Problems

Property buttonA1 is missing.
Property buttonA2 is missing.
Property buttonA3 is missing.
Property buttonB1 is missing.
Property buttonB2 is missing.
Property buttonB3 is missing.
Property buttonC1 is missing.
Property buttonC2 is missing.
Property buttonC3 is missing.

Output

Puzzle31 returns light1 through light4. Each can be 'on' or 'off'