0
5
4
6
10
14
22
36
62
41
61
Test Cases
Test Results
Input
5 1 1 0 1 1
Expected Output
STATUS=ON STATUS=OFF STATUS=OFF STATUS=ON STATUS=OFF