main=g>>f 1 f x=do y<-g;putStrLn$"Case #"++show x++s!!read[last y];f$x+1 s=": WHITE":": BLACK":s g=getLine