{"trustable":true,"sections":[{"title":"","value":{"format":"MD","content":"Alice and Bob are playing a strange game. The rules of the game are:\n\n1. Initially there are **n** piles.\n2. A pile is formed by some cells.\n3. Alice starts the game and they alternate turns.\n4. In each turn, a player can pick any pile and divide it into two unequal piles.\n5. If a player cannot do so, he/she loses the game.\n\nNow you are given the number of cells in each of the piles, you have to find the winner of the game if both of them play optimally."}},{"title":"Input","value":{"format":"MD","content":"Input starts with an integer **T (\u0026le; 1000)**, denoting the number of test cases.\n\nEach case starts with a line containing an integer **n (1 \u0026le; n \u0026le; 100)**. The next line contains **n** integers, where the i\u003csup\u003eth\u003c/sup\u003e integer denotes the number of cells in the i\u003csup\u003eth\u003c/sup\u003e pile. You can assume that the number of cells in each pile is between **1** and **10000**."}},{"title":"Output","value":{"format":"MD","content":"For each case, print the case number and `Alice` or `Bob` depending on the winner of the game."}},{"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\u003e3\n1\n4\n3\n1 2 3\n1\n7\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eCase 1: Bob\nCase 2: Alice\nCase 3: Bob\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"Note","value":{"format":"MD","content":"In case 1, Alice has only 1 move, she divides the pile with 4 cells into two unequal piles, where one pile has 1 cell and the other pile has 3 cells. Now it\u0027s Bob\u0027s turn. Bob divides the pile with 3 cells into two piles, where one pile has 1 cell and another pile has 2 cells. So, now there are three piles having cells 1, 1, 2. And Alice loses, since she doesn\u0027t have any moves now."}}]}