A bakery makes cupcakes in batches. Each batch consists of 24 cupcakes. The bakery sells 75% of the cupcakes from one batch and gives away 1/3 of the remaining cupcakes to a local charity. If there are 4 batches of cupcakes in total, how many cupcakes does the bakery have left after selling and giving away some of the cupcakes? Let's think step by step and output the final answer within \boxed{}.
user