Suppose the number S consists of M digits. For example, if S = 370, then M (the number of digits) = 3

Implement the getNumbers method. Among numbers less than N (long), it should

find all the numbers satisfying the following criterion:

The number S is equal to the sum of its digits raised in the Mth

Implement the getNumbers method. Among numbers less than N (long), it should

find all the numbers satisfying the following criterion:

The number S is equal to the sum of its digits raised in the Mth