Boring Game

아직 제출이 없습니다시간 제한4초메모리 제한512 MB

문제

Yong Chol is playing a game with his brother. The game board is a N×NN \times N grid. Each cell of the grid contains a coin. Each coin is either heads up or tails up. The players take turns to flip coins. In each turn, the player selects a cell (x,y)(x, y) (1x,yN1 \le x, y \le N) with a coin heads up, and also two integers ww and hh (1wx1 \le w \le x, 1hy1 \le h \le y). After that, the player looks at the rectangle of cells with its opposite corners containing cells (xw+1,yh+1)(x - w + 1, y - h + 1) and (x,y)(x, y), and flips all coins in this rectangle, changing heads to tails and vice versa.

The player who cannot make a move loses the game.

The game with his little brother is so boring for Yong Chol that he wants to finish it immediately. But before doing that, Yong Chol wants to know who will win if the two players play optimally from now on. The board may be rather large, so its current state is given as a list of rectangles such that their union represents the cells with a coin heads up, and all other cells contain a coin tails up. Yong Chol is to take the next move. Can you help him find out who will win?

입력

The first line of input contains an integer TT, the number of test cases (1T2001 \le T \le 200).

Each test case starts with a line containing two integers: NN, the size of the board, and MM, the number of rectangles (1N1091 \le N \le 10^9, 1M1051 \le M \le 10^5).

Each of the next MM lines contains four integers x_1x\_1, y_1y\_1, x_2x\_2, and y_2y\_2: the coordinates of the two opposite corners of the rectangle (1x_i,y_iN1 \le x\_i, y\_i \le N, x_1x_2x\_1 \le x\_2, y_1y_2y\_1 \le y\_2).

The total sum of MM over all test cases will not exceed 61056 \cdot 10^5. For at least 9090 percent of the test cases, MM will be smaller than 600600.

출력

For each test case, if Yong Chol wins the game, print "Yong Chol", otherwise print "Brother".