{"trustable":false,"prependHtml":"\u003cstyle type\u003d\"text/css\"\u003e\n div.illustration {\n float: right;\n padding-left: 20px;\n }\n div.illustration .illustration {\n width: 100%;\n border-radius: 4px;\n }\n pre {\n display: block;\n margin: 0 0 10px;\n font-size: 13px;\n line-height: 1.42857143;\n color: #333;\n word-break: break-all;\n word-wrap: break-word;\n }\n\u003c/style\u003e\n\u003cscript\u003e\n window.katexOptions \u003d {\n delimiters: [\n {left: \u0027\\\\[\u0027, right: \u0027\\\\]\u0027, display: true}\n ]\n };\n\u003c/script\u003e\n","sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003eAlex Ionita and Andrei Boaca are playing a card game.\u003c/p\u003e\n\u003cp\u003eThe game is as follows: there is a stack of \u003cspan class\u003d\"tex2jax_process\"\u003e$k$\u003c/span\u003e cards on the table. Alex and Andrei take turns taking from \u003cspan class\u003d\"tex2jax_process\"\u003e$m$\u003c/span\u003e to \u003cspan class\u003d\"tex2jax_process\"\u003e$n$\u003c/span\u003e cards, beginning with Alex. The first player with no valid moves left loses.\u003c/p\u003e\n\u003cp\u003eGiven \u003cspan class\u003d\"tex2jax_process\"\u003e$k$\u003c/span\u003e, \u003cspan class\u003d\"tex2jax_process\"\u003e$m$\u003c/span\u003e, and \u003cspan class\u003d\"tex2jax_process\"\u003e$n$\u003c/span\u003e, determine which player will win the game provided that both play with an optimal strategy.\u003c/p\u003e\n\u003ch2\u003eInputs\u003c/h2\u003e\n\u003cp\u003eThe input consists of a single line containing three space-separated integers \u003cspan class\u003d\"tex2jax_process\"\u003e$1 \\leq k \\leq 10^9$\u003c/span\u003e and \u003cspan class\u003d\"tex2jax_process\"\u003e$1 \\leq m \\leq n \\leq 10^9$\u003c/span\u003e.\u003c/p\u003e\n\u003ch2\u003eOutputs\u003c/h2\u003e\n\u003cp\u003eIf Alex wins the game, output \"Alex\".\u003c/p\u003e\n\u003cp\u003eIf Andrei wins the game, output \"Barb\" (from Boaca Andrei Rosu Boss).\u003c/p\u003e"}},{"title":"Sample 1","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\u003e5 2 2\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eBarb\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"Sample 2","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\u003e25 3 10\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eAlex\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}