a=scan("stdin");write(paste("Case #",1:a[1],": ",c("WHITE","BLACK")[a[1:a[1]*2+1]%%2+1],sep=""),T)