This question was asked in Example 14
Number of  permutations  of monday

Harshini VK's image