Jaffer took a test in which there were 25 questions. Two marks would be given for each correct answer and one mark would be subtracted for each wrong one. Jaffer answered all questions and got 35 marks. How many of his answers were correct?