Example 1.6.2. How many ways can you distribute 10 cookies to 4 kids so that no kid gets more than 2 cookies? Solution.