<filename>algorithm_book/lec6_HS.py
switch = [[0,1,2],
          [3,7,9,11],
          [4,10,14,15],
          [0,4,5,6,7],
          [6,7,8,10,12],
          [0,2,14,15],
          [3,14,15],
          ]


C = int(input())

for i in range(C):
    
<filename>algorithm_book/lec6_HS.py
switch = [[0,1,2],
          [3,7,9,11],
          [4,10,14,15],
          [0,4,5,6,7],
          [6,7,8,10,12],
          [0,2,14,15],
          [3,14,15],
          ]


C = int(input())

for i in range(C):
    