{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cbr\u003eYoung Andrew is playing yet another numbers game. Initially, he writes down an integer \u003ci\u003eA\u003c/i\u003e. Then, he chooses some divisor \u003ci\u003ed\u003c/i\u003e\u003csub\u003e1\u003c/sub\u003e of \u003ci\u003eA\u003c/i\u003e, 1 \u0026lt; \u003ci\u003ed\u003c/i\u003e\u003csub\u003e1\u003c/sub\u003e \u0026lt; \u003ci\u003eA\u003c/i\u003e, erases \u003ci\u003eA\u003c/i\u003e and writes \u003ci\u003eA\u003c/i\u003e\u003csub\u003e1\u003c/sub\u003e\u003dA+\u003ci\u003ed\u003c/i\u003e\u003csub\u003e1\u003c/sub\u003e instead. Then, he chooses some divisor \u003ci\u003ed\u003c/i\u003e\u003csub\u003e2\u003c/sub\u003e of \u003ci\u003eA\u003c/i\u003e\u003csub\u003e1\u003c/sub\u003e, 1 \u0026lt; \u003ci\u003ed\u003c/i\u003e\u003csub\u003e2\u003c/sub\u003e \u0026lt; \u003ci\u003eA\u003c/i\u003e\u003csub\u003e1\u003c/sub\u003e, erases \u003ci\u003eA\u003c/i\u003e\u003csub\u003e1\u003c/sub\u003e and writes \u003ci\u003eA\u003c/i\u003e\u003csub\u003e2\u003c/sub\u003e\u003dA\u003csub\u003e1\u003c/sub\u003e+\u003ci\u003ed\u003c/i\u003e\u003csub\u003e2\u003c/sub\u003e instead.\u003cbr\u003eI.e., at any step he chooses some positive integer divisor of the current number, but not 1 and not the whole number, and increases the current number by it.\u003cbr\u003eIs it possible for him to write number \u003ci\u003eB\u003c/i\u003e if he started with number \u003ci\u003eA\u003c/i\u003e?\u003cbr\u003e\u003cdiv align\u003d\"left\" style\u003d\"margin-top: 1.0em;\"\u003e\u003cb\u003eInput\u003c/b\u003e\u003c/div\u003eThe only line of input contains two integers \u003ci\u003eA\u003c/i\u003e and \u003ci\u003eB\u003c/i\u003e, 2 ≤ \u003ci\u003eA\u003c/i\u003e \u0026lt; \u003ci\u003eB\u003c/i\u003e ≤ 10\u003csup\u003e12\u003c/sup\u003e.\u003cbr\u003e\u003cdiv align\u003d\"left\" style\u003d\"margin-top: 1.0em;\"\u003e\u003cb\u003eOutput\u003c/b\u003e\u003c/div\u003eIf there\u0027s no solution, output \"\u003cpre style\u003d\"display: inline;font-size: 120.0%;\"\u003eImpossible\u003c/pre\u003e\" (without quotes) to the only line of output. If there\u0027s one, output the sequence of numbers written starting with \u003ci\u003eA\u003c/i\u003e and ending with \u003ci\u003eB\u003c/i\u003e, one per line. You\u0027re not asked to find the shortest possible sequence, however, you should find a sequence with no more than 500 numbers. It is guaranteed that if there exists some sequence for the given \u003ci\u003eA\u003c/i\u003e and \u003ci\u003eB\u003c/i\u003e, then there exists a sequence with no more than 500 numbers in it.\u003cbr\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\u003e12 57\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e12\n16\n24\n27\n30\n40\n50\n52\n54\n57\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\u003e3 6\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eImpossible\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}