{"trustable":false,"prependHtml":"\u003cstyle type\u003d\u0027text/css\u0027\u003e\n .input, .output {\n border: 1px solid #888888;\n }\n .output {\n margin-bottom: 1em;\n position: relative;\n top: -1px;\n }\n .output pre, .input pre {\n background-color: #EFEFEF;\n line-height: 1.25em;\n margin: 0;\n padding: 0.25em;\n }\n \u003c/style\u003e\n \u003clink rel\u003d\"stylesheet\" href\u003d\"//codeforces.org/s/96598/css/problem-statement.css\" type\u003d\"text/css\" /\u003e\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript type\u003d\"text/javascript\" async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS_HTML-full\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"HTML","content":"Alice和Bob玩游戏,在他们面前,有一张长度为n + 1的纸条,标号从0到n(从左到右),现在有一个棋子放在位置n,他们轮流举行回合,对于每次操作,操作者可以选择将棋子向左移动1格或者2格,或者k格,使得棋子由原本的位置x变为x-1或者x-2或者x-k,前提是不能超出纸条范围。当某个人不能再进行操作时,这个人输了。假设Alice和Bob都是绝对的聪明,Alice先走,求最后肯定是谁胜利,输出他/她的名字。"}},{"title":"Input","value":{"format":"HTML","content":"第一行有一个T,表示有T次询问(1\u003c\u003dT\u003c\u003d100)。\n接下来T行,每行有两个数n,k(0 \u003c\u003d n \u003c\u003d 10^9,3 \u003c\u003d k \u003c\u003d 10^9),表示长度为n+1的纸条和额外允许的位移长度为k。"}},{"title":"Output","value":{"format":"HTML","content":"对于每个样例,如果Alice胜利输出“Alice”,否者输出“Bob”。"}},{"title":"Example","value":{"format":"HTML","content":"\u003cdiv class\u003d\"sample-test\"\u003e\n \u003cdiv class\u003d\"input\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Input\n \u003c/div\u003e\n \u003cpre\u003e4\u003cbr\u003e0 3\u003cbr\u003e3 3\u003cbr\u003e3 4\u003cbr\u003e4 4\u003cbr\u003e\u003c/pre\u003e\n \u003c/div\u003e\n \u003cdiv class\u003d\"output\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Output\n \u003c/div\u003e\n \u003cpre\u003eBob\u003cbr\u003eAlice\u003cbr\u003eBob\u003cbr\u003eAlice\u003cbr\u003e\u003c/pre\u003e\n \u003c/div\u003e\n\u003c/div\u003e"}}]}