A student loses 1 mark for every wrong answer and scores 2 marks for every correct answer. If he answer all the 60 questions in an exam and scores 36, marks, how many of them were correct?