Question 1131136
.
<pre>
In 5*10*2*5 = 500 ways.


The number of ways is the product of numbers of all independent options/choices.
</pre>


It is the case when the solution is much shorter than the problem's formulation . . .