a:stdin.get_s(9K).split(" ").to_a;a[0].to_i.times{b:a[it+1];c:b.size;%f"Case #%d: %s"(it+1,["WHITE","BLACK"][b.slice(c-1,c).to_i%2]).p;};