{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cstyle type\u003d\"text/css\"\u003e pre { text-align:left; font-family: \"Courier New\", Courier, monospace; font-size: 16px; white-space: pre; line-height:20px; text-indent: 0px; }\u003c/style\u003e\u003cdiv class\u003d\"pro_desc\"\u003e\n \u003cp\u003e象棋翻翻棋(暗棋)中双方在4*8的格子中交战,有时候最后会只剩下帅和将。根据暗棋的规则,棋子只能上下左右移动,且相同的级别下,主动移动到地方棋子方将吃掉对方的棋子。将和帅为同一级别。然而胜负在只剩下帅和将的时候已定。\u003c/p\u003e\n\u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cdiv class\u003d\"pro_desc\"\u003e\n \u003cp\u003e第一行T,表示T组数据。\u003c/p\u003e \n \u003cp\u003e每组数据共有四行字符串,每行字符串共八个字符\u003c/p\u003e \n \u003cp\u003e’#’表示空格\u003c/p\u003e \n \u003cp\u003e’*’表示红方帅\u003c/p\u003e \n \u003cp\u003e’.’表示黑方将\u003c/p\u003e \n \u003cp\u003e此时红方先走\u003c/p\u003e \n \u003cp\u003e\u003c/p\u003e \n \u003cp\u003e每组输入之间没有空行。\u003c/p\u003e\n\u003c/div\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cdiv class\u003d\"pro_desc\"\u003e\n \u003cp\u003e每组数据输出一行。若为红方赢输出Red win,否则输出 Black win\u003c/p\u003e\n\u003c/div\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cpre\u003e1\r\n######.#\r\n#####*##\r\n########\r\n########\r\n\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cpre\u003eBlack win\u003c/pre\u003e"}}]}