In a contest there were 10 problems. Each correct answer is eligible for 5 points while each incorrect answer is penalized with a deduction of 2 points. Venkat answered all the questions but got only 29 points. The number of correct answers of Venkat was