# Program to check whether number is Spy Number or Not num=int(input("Enter a number:"))sum=0mult=1while num!=0:    rem = num % 10    sum += rem    mult *= rem    num //= 10if sum==mult:    print("It is a spy Number.")else:   print("It is not a spy Number.")