no what u said in your previous post is wrong. Dividing by 3! is wrong. if the arrangement is : 1 2 2 then divide by 2!.2! as there are 2 objects of each type of shampoo and if it is 1 1 3 then divide by 3!
Guide to latex:
http://www.goiit.com/posts/list/community-shelf-a-guide-to-latex-48056.htm