3 men and 2 women are lined up in a row . what is the number of cases where they stand with each other in turn ? ( the number of cases in which men ( or women ) do not stand next to each other )
the list should be wmwmw . hence , from women 2 ! and men 3 ! , we get ( 2 ! ) ( 3 ! ) = 12 . therefore , the correct answer is a .
multiply(factorial(3), factorial(2))