A question paper consists of two sections having respectively 3 and 5 questions. The following note is given on the paper‘‘It is not necessary to attempt all the questions. One question from each section is compulsory". In how many ways can a candidate select the questions?