My teacher gave us this question and I'm not sure if I'm just going about it wrong, but it seems to me like there isn't enough information. The question is:

A store sells red, green, and yellow marbles. In how many ways can a child buy 20 marbles?

Wouldn't you have to know how many of each color there is or is there another way to do it?

Thanks!