#question about finding amstrong number
check update

n=int(input("enter no:\n"))
x=n
a=n
s=0
j=str(x)
l=len(j)
while(x>0):
    x=n%10
    s+=x**l
    n=n//10
if(s==a):
    print("\n amg")
else:
    print("\n n")
        

