Lucy’s chocolate bar is 54% cocoa. If the weight of the chocolate bar is 54 grams, how many grams of cocoa does it contain? Round the answer to the nearest tenth