1. there is 18 different balls in a bag. 5 red, 4 green, 2 yellow,7 blue

how many posibilities exist to pick from them 6 balls that one will be green, one yellow, maximun 3 red

2.how many posibilities exist to divide the numbers: 1,2,3,4,5,6,7 to three groups??