A question paper has two parts-Part A and Part B. Part A contains 5 questions and part B has 4. Each question in part A has an alternative. A student has to attempt atleast one question from each part. Find the number of ways in which the student can attempt the question paper.