Wild West produces two types of cowboy hats. Type I hat requires twice as much labor as a Type II. If all the available labor time is dedicated to Type II alone, the company can produce a total of 400 Type II hats a day. The respective market limits for the two types of hats are 150 and 200 hats per day. The profit is $8 per Type I hat and $5 per Type II hat. determine the number of hats of each type that maximize profit.