You are given two integers X and Y. Your task is to determine the sequence of real numbers with the minimum size such that the sum and product of the numbers in the sequence are X and Y respectively. Also, print the size of the sequence only.
If no such sequences exist, then print −1.
Input format
Output format
For each test case, print a single line containing the answer.
Constraints
1≤t≤100
1≤X,Y≤109
.The least possible size sequence is {5}