A factory produces two types of widgets: Type A and Type B. Producing one Type A widget requires 3 hours of labor and 2 units of raw material, while producing one Type B widget requires 5 hours of labor and 4 units of raw material.
The factory has a maximum of 60 hours of labor and 40 units of raw material available in a week. If the factory produces only Type A and Type B widgets, what is the maximum number of widgets it can produce in a week?