A factory produces gadgets and widgets in the ratio of 3:2. In one week, the factory produced a total of 1,000 items. If the factory decides to increase the production of gadgets by 50% and decrease the production of widgets by 20% next week, how many gadgets and widgets will be produced next week? Let's think step by step and output the final answer within \boxed{}.
user