the plus + in this case is not an OR it adds w7 to {0,18,36}
so if w7= 8 you compare b9 to 8+{0,18,36} or {8,26,44}
so if b9 27 it would resolve to true,true,false with the --
this becomes 1,1,0 so the total is 2