In a shop there are five types of ice-creams available. A child buys six ice-creams. Is it true that the number of different ways the child can buy six ice creams is equal to the number of different ways of arranging 6 A's and 4 B's in a row?
I tried it as follows:
The child problem- There are five kinds of ice-creams, so the child can select six ice-creams in $5^6=15625$ ways.
A's and B's problem- There are 6 A's and 4 B's. We can place these 10 items in a row in 10!/6!4! ways, which is equal to 210.
But the actual answer is true. How can it be? Where am I wrong?