You will be given a definition of a task first, then some input of the task.
The task is to generate the correct answer for a given math problem.

Problem: huey ' s hip pizza sells two sizes of square pizzas : a small pizza that measures 12 inches on a side and costs $ 10 , and a large pizza that measures 18 inches on a side and costs $ 20 . if two friends go to huey ' s with $ 30 apiece , how many more square inches of pizza can they buy if they pool their money than if they each purchase pizza alone ?
Output:
36 square inches