The factorization of a positive integer is to write as the sum of the -th power of positive integers. You are supposed to write a program to find the factorization of for any positive integers , and .
Input Specification
Each input file contains one test case which gives in a line the three positive integers (), () and (). The numbers in a line are separated by a space.
Output Specification
For each case, if the solution exists, output in the format:
N = n[1]^P + ... n[K]^P
where n[i] (i = 1, …, K) is the i-th factor. All the factors must be printed in non-increasing order.
Note: the solution may not be unique. For example, the 5-2 factorization of 169 has 9 solutions, such as , or , or more. You must output the one with the maximum sum of the factors. If there is a tie, the largest factor sequence must be chosen – sequence { } is said to be larger than { } if there exists such that for and .
If there is no solution, simple output Impossible.