Emily is baking cookies for a bake sale. Each batch of cookies requires 3 cups of flour, and she plans to bake 5 batches. She also needs to convert the total amount of flour into grams. If 1 cup of flour is equivalent to 120 grams, how many grams of flour will Emily need in total for all the batches? Let's think step by step and output the final answer within \boxed{}.
user