A factory makes two types of chairs: type A and type B. The factory makes a profit 20$ on chairs of type A and 10$ on chairs of type B. Each chair requires 3 m2 (meter square) of wood. Type A is a largely hand made chair and type B is a standard option. This means that forty man hours is required to produce each chair of type A whereas a machine does most of the work for type B, requiring only 10 man hours for inspecting and finishing each chair. Given a 120 m2 of wood and 1000 man hours are available each week, how many of each type of chair should be made each week to maximize total profit.