TASK DEFINITION: The task is to generate the correct answer for a given math problem.
PROBLEM: Problem: the number of positive integer solutions for the equation x + y + z + t = 30 is

SOLUTION: 3654

PROBLEM: Problem: virginia , adrienne , and dennis have taught history for a combined total of 96 years . if virginia has taught for 9 more years than adrienne and for 12 fewer years than dennis , for how many years has dennis taught ?

SOLUTION: 4

PROBLEM: Problem: 40 is subtracted from 70 % of a number , the result is 30 . find the number ?

SOLUTION:
10