#include<stdio.h>
#include<conio.h>
void main ( )
{
int n, i,b, a,sum=0
printf("Enter a number");
scanf("%d",&n);
b = n;
while(n>0)
{
a = n%10;
sum= sum+(a*a*a);
n = n/10
}
if (sum==b)
printf("Armstrong");
else
printf("Not Armstrong");
getch( );
}