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 ?
n0 = 12.0
n1 = 10.0
n2 = 18.0
n3 = 20.0
n4 = 30.0
t0 = n2**min(2.0, 5)
t1 = n0**min(2.0, 5)
t2 = t1 + t0
t3 = t0 * 3.0
t4 = t2 + t2
answer = t3 - t4
print(answer)