n=int(input('enter any number:'))
next_n,sum=n,0
while next_n>0:
    digit=next_n%10
    sum=sum+(digit)**3
    next_n=next_n//10
if n==sum:
    print('armstrong number')
7a479afc228242b0a8a28131e1c3b065ae223b6d
<mask token>

<mask token>
while next_n > 0:
    digit = next_n % 10
    sum = sum + digit ** 3
    next_n = next_n // 10
if n == sum:
    print('armstrong number')

n = int(input('enter any number:'))
next_n, sum = n, 0
while next_n > 0:
    digit = next_n % 10
    sum = sum + digit ** 3
    next_n = next_n // 10
if n == sum:
    print('armstrong number')

n=int(input('enter any number:'))
next_n,sum=n,0
while next_n>0:
    digit=next_n%10
    sum=sum+(digit)**3
    next_n=next_n//10
if n==sum:
    print('armstrong number')