For an examination, a candidate has to select 7 subjects from 3 different groups A, B, C which contain 4, 5, 6 subjects, respectively.The number of ways in which a candidate can make his selection if he has to select at least 2 subjects from each group are