You are given a math word problem and you are supposed to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

Example Input: For a birthday party Cody bought 4 regular sodas and 44 diet sodas . If his fridge would only hold 6 on each shelf , how many shelves would he fill up ?
Example Output: 8

Example Input: A group of 3 friends went into a restaurant . The chef already had 8 chicken wings cooked but cooked 10 more for the group . If they each got the same amount how many would each person get ?
Example Output: 6

Example Input: Mrs. Sheridan has 17 cats . Mr. Sheridan gave her 14 more cats . How many cats does Mrs. Sheridan have altogether ?
Example Output:
31