A baker has 64 cupcakes. He decides to give away 8 of them to a friend. After giving them away, he divides the remaining cupcakes equally into boxes of 4. How many boxes of cupcakes does he have now? Let's think step by step and output the final answer within \boxed{}.
user