If you need to pick xxx many items of yyy many choices, the equation for the number of possible selections is
(yx).{y \choose x}. (xy).
If you need to assign xxx many identical items to yyy many places, there are
(y+x−1y−1).{y + x -1 \choose y - 1}. (y−1y+x−1).