{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003e--- \u003cem\u003eLet\u0027s play a game. There are several heaps, each of them contains certain number of stones. In one move you can take any number of stonesfrom one of the heaps. If you cannot make a move - you lose\u003c/em\u003e.\u003cem\u003e \u003c/em\u003e --- \u003cem\u003eWell OK, but I go fi\u001crst. \u003c/em\u003e --- \u003cem\u003eOkay, then I choose how much stones we have. \u003c/em\u003e --- \u003cem\u003eOkay, then I choose how much heaps we have. \u003c/em\u003e --- \u003cem\u003eThen I will divide stones into heaps. \u003c/em\u003e --- \u003cem\u003eGood luck.\u003c/em\u003e\u003c/p\u003e\n\n\u003cp\u003e\u003ch2\u003eInput\u003c/h2\u003e\u003c/p\u003e\n\n\u003cp\u003eTwo numbers \u003cstrong\u003eN\u003c/strong\u003e and \u003cstrong\u003eK\u003c/strong\u003e (\u003cstrong\u003e1\u003c/strong\u003e ≤ \u003cstrong\u003eN\u003c/strong\u003e ≤ \u003cstrong\u003e10^9\u003c/strong\u003e, \u003cstrong\u003e2\u003c/strong\u003e ≤ \u003cstrong\u003eK\u003c/strong\u003e ≤ \u003cstrong\u003e16\u003c/strong\u003e) - the number of stones and the number of heaps.\u003c/p\u003e\n\n\u003cp\u003e\u003ch2\u003eOutput\u003c/h2\u003e\u003c/p\u003e\n\n\u003cp\u003eIf you can not divide the \u003cstrong\u003eN\u003c/strong\u003e stones smoothly on \u003cstrong\u003eK\u003c/strong\u003e non-empty heaps, so that the optimal game of both players leads to win of a second player, print \u003cstrong\u003e-1\u003c/strong\u003e. Otherwise, print \u003cstrong\u003eK\u003c/strong\u003e positive integers \u003cstrong\u003ea_i\u003c/strong\u003e --- the size of heaps.\u003c/p\u003e\n\n"}},{"title":"Example","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\u003e4 2\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e2 2\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}