In an examination paper, there are 7 questions in Group A, out of which any 4 are to be attempted by a candidate and there are 6 questions in Group $\mathrm{B}$, out of which any 3 are to be attempted. In how many different ways can the paper be attempted in full?