A factory produces a certain type of widget and the production follows a specific pattern. In the first month, they produce 100 widgets. Each subsequent month, the number of widgets produced is 80% of the previous month's production, rounded to the nearest integer. After how many months will the total number of widgets produced exceed 400? Let's think step by step and output the final answer within \boxed{}.
user