Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: in a family 16 people eat only vegetarian , 9 people eat only non veg . , 12 people eat both veg and non veg . . how many people eat veg in the family ?
