There are 5 different green toys, so the number of ways that at least one green toy can be selected is 25−1=31 There are 4 different blue toys, so the number of ways that at least one blue toy can be selected is 24−1=15 There are 3 different red toys and here is no restriction in selecting the toys, so the number of ways of selection red toys is 23=8 ∴ The required number of ways is 31×15×8.