# Find the next Armstrong number

Problem to find the next Armstrong number in given number.

If given number equal to the power of each and every digit with length of the given number and sum the powered value.That is called Armstrong number.Armstrong number full Explain

## Example-1:

Input : n = 15 Output : 153

## Example-2:

Input : n = 300 Output : 370

# Solution

## Output

153