A factory produces 45 widgets per hour. If the factory works continuously for 7 hours, how many widgets will it produce in total? Afterward, if each widget weighs 0.5 kilograms, what will be the total weight of the produced widgets in grams? Let's think step by step and output the final answer within \boxed{}.
user