The tic-tac-toe game is starting on a tree of n vertices. Some vertices are already colored in white while the remaining are uncolored.

There are two players — white and black. The players make moves alternatively. The white player starts the game. In his turn, a player must select one uncolored vertex and paint it in his color.

The player wins if he paints some path of three vertices in his color. In case all vertices are colored and neither player won, the game ends in a draw.

Could you please find who will win the game or whether it ends as a draw, assuming both players play optimally? 

Input

The first line contains a single integer T (1 ≤ T ≤ 50 000) — the number of test cases. Then descriptions of T test cases follow.

The first line of each test contains a single integer n (1 ≤ n ≤ 5 ⋅ 10^5) — the number of vertices in the tree.

Each of the following n - 1 lines contains integers v, u (1 ≤ v, u ≤ n) denoting an edge of the tree connecting vertices v and u.

The last line of a test case contains a string of letters 'W' (for white) and 'N' (for not colored) of length n denoting already colored vertices. Vertexes already colored in white are denoted as 'W'.

It's guaranteed that the given edges form a tree, that there is at least one uncolored vertex and that there is no path of three white vertices.

It's guaranteed that sum of all n among all test cases is at most 5 ⋅ 10^5.

Output

For every test case, print either "White", "Draw" or "Black", depending on the result of the game.

Example

Input


2
4
1 2
1 3
1 4
NNNW
5
1 2
2 3
3 4
4 5
NNNNN


Output


White
Draw

Note

In the first example, vertex 4 is already colored in white. The white player can win by coloring the vertex 1 in white first and the remaining vertex on his second turn. The process is illustrated with the pictures below.

<image>

In the second example, we can show that no player can enforce their victory.
#include <bits/stdc++.h>
using namespace std;
vector<int> adjList[2000000];
int main() {
  int i, j;
  int T, t;
  int n, u, v;
  char c;
  scanf("%d", &T);
  for (t = 0; t < T; t++) {
    scanf("%d", &n);
    for (i = 0; i < n - 1; i++) {
      scanf("%d %d", &u, &v);
      u--, v--;
      adjList[u].push_back(v);
      adjList[v].push_back(u);
    }
    int nn = n;
    for (i = 0; i < nn; i++) {
      scanf(" %c", &c);
      if (c == 'W') {
        adjList[i].push_back(n), adjList[n].push_back(i);
        adjList[n].push_back(n + 1), adjList[n + 1].push_back(n);
        adjList[n].push_back(n + 2), adjList[n + 2].push_back(n);
        n += 3;
      }
    }
    int c = 0;
    for (i = 0; i < n; i++) {
      if (adjList[i].size() >= 4)
        break;
      else if (adjList[i].size() >= 3) {
        c++;
        int c2 = 0;
        for (j = 0; j < adjList[i].size(); j++) {
          v = adjList[i][j];
          if (adjList[v].size() >= 2) c2++;
        }
        if (c2 >= 2) break;
      }
    }
    if ((i < n) || ((c == 2) && (n & 1)))
      printf("White\n");
    else
      printf("Draw\n");
    for (i = 0; i < n; i++) adjList[i].clear();
  }
  return 0;
}
