You own 6 dogs, 4 cats and 5 rabbits. In how many ways can you pet them if you have to pet 4 dogs, 3 cats and 2 rabbits (You are allowed to pet the same animal multiple times).
I tried doing 6^4 * 4^3 * 5^2 * 9!, but apparently the number is too large because it doesn't account for the repetitions.