for(i=-1;l=readline();)++i&&print('Case #'+i+':',/ .*/(l)%2?'BLACK':'WHITE')