armstrong numbers
int main(){
int a;
cin >> a;
int check = a;
int sum = 0;
while(a!=0){
int rem = a%10;
sum += pow(rem,3); //include cmath
a/=10;
}
if(sum==check){
cout << "armstrong";
} else {
cout << "not armstrong";
}
return 0;
}