#  num = int(input("Enter a nummber \n "))
#  length = len(str(num))
#  sum=0
#  temp=num
#  while(temp!=0):
#      rem=temp%10
#      sum=sum+rem**length
#      temp=temp//10
#      if(sum==num):
#         print("Armstrong Number \n ")
#     else:
#         print("Non Armstrong Number \n")
# def order(x):
#     count=0
#     while(x!=0):
#         count=count+1
#         x=x//10
#     return count
# print(order(123))


        