\[C = C_{7}^{3} \bullet C_{5}^{2} =\]
\[= \frac{7!}{3!(7 - 3)!} \bullet \frac{5!}{2!(5 - 2)!} =\]
\[= \frac{7 \bullet 6 \bullet 5 \bullet 4!}{3 \bullet 2 \bullet 4!} \bullet \frac{5 \bullet 4 \bullet 3!}{2 \bullet 3!} =\]
\[= 7 \bullet 5 \bullet 5 \bullet 2 = 350\ способов.\]
\[Ответ:\ \ 350.\]