Please do not post AOPs Alcumus questions.
HERE IS A VERY HELPFUL LINKING REGARDING YOUR QUESTION
https://artofproblemsolving.com/wiki/index.php/Distinguishability
Please, everyone, take a look at the link it has helped me so much in my AOPs coursework.