SSC CGL 10 Sep 2024 Shift 1 — Question 72 (Algebra)

Medium2024
If the sum of three numbers is 18 and the sum of their squares is 36, then find the difference between the sum of their cubes and three times of their product.