The product of the digits of the natural number N is denoted by P(N) whereas the sum of these digits is denoted by S(N). How many solutions does the equation P(P(N))+P(S(N))+S(P(N))+S(S(N))=1984 have? number theorysum of digitsproduct of digitsDigits