{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003eLittle John is playing very funny game with his younger brother. There is one big box filled with M\u0026amp;Ms of different colors. At first John has to eat several M\u0026amp;Ms of the same color. Then his opponent has to make a turn. And so on. Please note that each player has to eat at least one M\u0026amp;M during his turn. If John (or his brother) will eat the last M\u0026amp;M from the box he will be considered as a looser and he will have to buy a new candy box.\u003c/p\u003e\u003cp\u003eBoth of players are using optimal game strategy. John starts first always. You will be given information about M\u0026amp;Ms and your task is to determine a winner of such a beautiful game.\u003c/p\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003eThe first line of input will contain a single integer \u003cb\u003eT\u003c/b\u003e – the number of test cases. Next \u003cb\u003eT\u003c/b\u003e pairs of lines will describe tests in a following format. The first line of each test will contain an integer \u003cb\u003eN\u003c/b\u003e – the amount of different M\u0026amp;M colors in a box. Next line will contain \u003cb\u003eN\u003c/b\u003e integers \u003cb\u003eA\u003csub\u003ei\u003c/sub\u003e\u003c/b\u003e, separated by spaces – amount of M\u0026amp;Ms of \u003cb\u003ei\u003c/b\u003e-th color.\u003c/p\u003e\u003cp\u003e\u003cb\u003eConstraints:\u003cbr\u003e1 \u0026lt;\u003d T \u0026lt;\u003d 474,\u003cbr\u003e1 \u0026lt;\u003d N \u0026lt;\u003d 47,\u003cbr\u003e1 \u0026lt;\u003d A\u003csub\u003ei\u003c/sub\u003e \u0026lt;\u003d 4747\u003c/b\u003e\u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003eOutput \u003cb\u003eT\u003c/b\u003e lines each of them containing information about game winner. Print “\u003cb\u003eJohn\u003c/b\u003e” if John will win the game or “\u003cb\u003eBrother\u003c/b\u003e” in other case.\u003c/p\u003e"}},{"title":"Sample","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e2\r\n3\r\n3 5 1\r\n1\r\n1\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eJohn\r\nBrother\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}