Sarah bought a cake for a party. She cut the cake into 12 equal slices. At the party, 7 slices were eaten. Later, she decided to cut the remaining slices into smaller pieces so that each slice was divided into 3 equal parts. How many total pieces of cake does she have now? Let's think step by step and output the final answer within \boxed{}.
user