Anil scored 40 marks in a test, getting 3 marks for each correct answer and losing 7 marks for each wrong answer. Had 5 marks been awarded for each correct answer and 3 marks been deducted for each incorrect answer, then Anil would have scored 60 marks. The number of questions in the test.