National Business Machines manufactures x model A fax machines and y model B fax machines. Each model A cost $110 to make, and each model B costs $140. The profits are $30 for each model A and $39 for each model B fax machine. If the total number of fax machines demanded per month does not exceed 3100 and the company has earmarked not more than $374,000/month for manufacturing costs, how many units of each model should National make each month in order to maximize its monthly profits P?