A recipe calls for 15% of the total mixture to be sugar. If 300 grams of the mixture is to be prepared, how many grams of sugar are needed? Let's think step by step and output the final answer within \boxed{}.
user