n=int(input("Enter the digits: "))
digits=0
sum=0
while (n!=0):
    digits=n%10
    sum=sum+(digits**3)
    n=n//10
print(sum)



1386618e22bfa6299cdd7299239f3b7e34433acf
<mask token>

<mask token>
while n != 0:
    digits = n % 10
    sum = sum + digits ** 3
    n = n // 10
print(sum)

n = int(input('Enter the digits: '))
digits = 0
sum = 0
while n != 0:
    digits = n % 10
    sum = sum + digits ** 3
    n = n // 10
print(sum)

n=int(input("Enter the digits: "))
digits=0
sum=0
while (n!=0):
    digits=n%10
    sum=sum+(digits**3)
    n=n//10
print(sum)


