Can many balls be dropped into the same basket or just one?
Can the same colored ball be dropped into more than one basket?
Note that it can be dangerous to "dumb down" a problem. You run the risk that we may suggest something that works perfectly well for your balls and baskets but fails miserably for your actual project. This can waste a lot of time on your part and those helping you out in the forum.
Each ball can only belong to one basket & same vice versa.
Update: I've managed to figure it out, thanks!