The question is, if there are 30 pieces of candy, and 20 babies. How many ways can the candy be divided amongst the babies such that all of the candy has been given out?

My initial thought is that, we could obviously give 30 pieces to a single baby, thus there are 20 options there. Next we can give 29 to a single baby and one to every other. So there would be 19 combinations for every baby with 29. Thus 19 times 20 options? I can't seem to come up with a function for this. Help!