Will had muffins and Howard had puffs. Both gave half of what they had to each other. Will sold 8 muffins and Howard sold 34 puffs. In the end, the ratios of muffins to puffs for Will and Howard were 1 : 4 and 1 : 2 respectively. How many muffins did Will have at first?