How many ways are there to arrange 10 distinct tasks of type A and 10 distinct tasks of type B in 7 slots?
How many ways are there to arrange 10 distinct men and 10 distinct women on 7 seats, such that no 2 women are together?