Nancy bought a pie and sliced it into 8 pieces. She gave \( \frac{1}{2} \) of the pie to Joe and Darcy, and she gave \( \frac{1}{4} \) of the pie to Carl. How many slices were left? Let's think step by step and output the final answer within \boxed{}.
user