Teacher:The task is to generate the correct answer for a given math problem.
Teacher: Now, understand the problem? Solve this instance: Problem: sandy gets 3 marks for each correct sum and loses 2 marks for each incorrect sum . sandy attempts 30 sums and obtains 50 marks . how many sums did sandy get correct ?
Student:
22