It can be solved using Multinomial distribution.
It was too cumbersome to write 'here 'all the possible combinations so I am attaching a JPG image. I hope the hand-writing is readable.
---
"You don't have to believe in God, but you should believe in The Book." -Paul Erdős