r=io.read for i=1,r()do r'*n'print("Case #"..i..({": WHITE",": BLACK"})[r()%2+1])end