Sean and David had some allowance in the ratio of 3:7. They shared some money to buy a bracelet for their cousin. The ratio of the amount paid by Sean to the amount paid by David was 1:2. If David was left with $176 and Sean had spent 1/4 of his money, how much was the bracelet they bought?

The bracelet cost $224.