Question

Write a function that returns true if the number is an Armstrong number. What does this mean?

Login to Submit

Examples

Input: 342
Output: false

Input: 153
Output: true

Input: 22
Output: false