Time Limit: 1 sec
An Armstrong Number is an n-digit number which is equal to the nth power sum of its individual digits.
371 is a three digit number.
= 33 + 73 + 13
= 27 + 343 + 1
So, 371 is an Armstrong Number.
The Input file contains several lines. Each line contains an integer number N. N is a three digit number. Input is terminated by EOF
For each line of input print “N is an Armstrong Number” if N is an Armstrong Number otherwise print “N is not an Armstrong Number” in a separate line.
371 is an Armstrong Number
100 is not an Armstrong Number
Problem Setter: Samia Safa Ahmed