A factory has a production target to produce 500 widgets in a week. Due to a malfunction, their productivity decreased by 30%. How many days will it take for the factory to meet the production target if they operate 8 hours a day and produce 20 widgets per hour before the malfunction? Let's think step by step and output the final answer within \boxed{}.
user