TeX source:
\mathrm{p}=\frac{12 !}{(7 !)(2 !)(3 !)} \cdot 40^{7} \cdot 35^{2} \cdot 25^{3}=0.0248