Cyntexa interview question

Check Armstrong number