A factory can produce 15 widgets per hour with Machine A and 10 widgets per hour with Machine B. Both machines started working at the same time but Machine A had to stop for repairs after 4 hours while Machine B continued to work for 2 more hours. How many total widgets were produced by both machines? Let's think step by step and output the final answer within \boxed{}.
user