Sashko-Array Constructor
You are given the numbers and . Your task is to find any array that simultaneously satisfies the following criteria:
, where is the size of your array;
for each ;
the size of the array is minimal possible.
Input
The single line contains two integers and
Output
If such an array does not exist, then output "".
Otherwise, in the first line, output the number () — the minimal size of the array.
In the second line, output the numbers (), which satisfy the condition.
If there are multiple correct answers, any of them are allowed.
It can be shown that the length of the optimal array always satisfies the constraint.
Examples
Note
In the first example, and . You need to find an array with a product of . The array "" fits, because and each number is not greater than . It is impossible to make an array of size one, because then the only element should be equal to , and in this test .
Scoring
In this problem, there are conditional blocks. If your solution works correctly for certain constraints, it will receive a certain number of points. Note that the evaluation is still in the testing phase.
( points): ;
( points): without additional constraints.