Question 891345
Rearrange to AB = CD


Since D has 8 factors, D can equal p^7 or (p^3)(q^1) or pqr where p, q, r are primes.


Similarly, A is of the form p^3 or pq, and B is of the form p^5 or (p^2)q.


Greedily let D = (2^3)(3) = 24, A = 2*3 = 6, B = (2^2)(3) = 12, so C = 3. A+B+C+D = 6+12+3+24 = 45.