for(i<-1 to readInt)printf("Case #%d: %s\n",i,Seq("WHITE","BLACK")(readLine.last%2))