num = int(input("Enter a Number: "))
order = len(str(num))
sum = 0
temp = num
while temp != 0:
  digit = temp % 10
  sum += digit ** order
  temp //= 10
if num == sum:
  print("Given Number is Armstrong Number ")
else:
  print("Given Number is Not an Armstrong Number")
