Find the number of ways that a given integer, , can be expressed as the sum of the power of unique, natural numbers.
The first line contains an integer .
The second line contains an integer .
Output a single integer, the answer to the problem explained above.
Sample Input 0
Sample Output 0
If and , we need to find the number of ways that can be represented as the sum of squares of unique numbers.
This is the only way in which can be expressed as the sum of unique squares.
Sample Input 1
Sample Output 1
Sample Input 2
Sample Output 2
can be expressed as the sum of the cubes of .
. There is no other way to express as the sum of cubes.