For every dollar Ben spent on bagels, David spent 303030 cents less. Ben paid 151515 more than David. How much did they spend together in the bagel store?