var i,n:word;begin readln;repeat i:=i+1;read(n,n);writeln("Case #",i,copy(": WHITE: BLACK",1and n*7+1,7))until 0>0end.